Adalab/scriptfighter

Name: scriptfighter

Owner: Adalab

Description: null

Created: 2017-05-16 07:52:56.0

Updated: 2017-07-25 10:48:10.0

Pushed: 2017-07-06 17:09:27.0

Homepage: https://adalab.github.io/scriptfighter/

Size: 11389

Language: CSS

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Scriptfighter

Practical exercise to create a website of games

SUMMARY

This project consists of building a web of mini-games, where we will create Small games of simple gameplay.

OBJECTIVES

  1. Apply basic logic (conditionals, loops) to JavaScript

  2. Use arrays as data structures

  3. Use JavaScript to manipulate the DOM

  4. Listen to DOM events with JS

SPECIFICATIONS

The web has in 2 games, which are:

? A game of guessing the number

? A game of couples

All the mini-games have:

? A web interface with HTML and CSS

? A sea sensitive design

The number guessing game has the following characteristics:

? The random number one natural game less than 100

? The player tries to guess the number by typing and pressing a button

? The game generates feedback on whether the number is too high, too low, or has

TEACHING OBJECTIVES

The guessing number game includes these concepts

? Random Number Generation

? Variables and status

? Conditionals

? Functions

? Listen to events on the page

? Read data from DOM

? Paint in the DOM

The pairing game includes, in addition to the previous ones, these concepts

? Matrices

? Loops

? Status that changes during game play

? Change DOM CSS classes


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.