Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lynnaloo/javascript-for-kids

Word-guess game for teaching JavaScript to kids
https://github.com/lynnaloo/javascript-for-kids

guess-game hacktoberfest hacktoberfest2020 teaching-javascript

Last synced: about 1 month ago
JSON representation

Word-guess game for teaching JavaScript to kids

Awesome Lists containing this project

README

        

## JavaScript for Kids

Simple word-guess game for teaching JavaScript to kids (ages 9 and up). This game
includes some basic programming concepts such as storing values in variables, working
with arrays, using conditional statements, and using different types of loops.

This version of the game doesn't include validation or complex logic in order to
keep it simple for kids.

I recommend writing code in [jsfiddle.net](http://www.jsfiddle.net).
Another good tool is [jsbin.com](http://www.jsbin.com).

### To run this game:

* Clone this repository
* Open `index.html` in a browser

### Or:

* Open the game in [Jsfiddle](http://jsfiddle.net/lynnaloo/Lgeyx450/)
* Open the game in [CodePen](http://codepen.io/lynnaloo/pen/HDgIf?editors=001)
* Open directly from [Github](https://rawgit.com/lynnaloo/javascript-for-kids/master/index.html)

### Foundation Lessons

* [JavaScript is Cool](lessons/how-cool-is-javascript.md)
* [Print things and Save them to Variables](lessons/outputs-and-variables.md)
* [True, False, and Conditionals](lessons/true-false-and-conditional.md)
* [Repeating Code in a Loop](lessons/doing-things-in-a-loop.md)
* [Lists of Things](lessons/collections-of-things.md)

### Create the Game in 6 Steps

* [Step 1](game-steps/step1.js)
* [Step 2](game-steps/step2.js)
* [Step 3](game-steps/step3.js)
* [Step 4](game-steps/step4.js)
* [Step 5](game-steps/step5.js)
* [Final Step](game-steps/final.js)

## Skip to the Final Game

* [Word Guess Game](word-guess.js)

### Bugs!

This game has bugs! The "homework" from this class is to add functionality and to fix
the existing bugs. Some examples of bug fixes are:

* setting all words to lowercase
* checking for null prompt answers (and other validation)
* allowing a user to quit the game once it has started
* checking for "real" words