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

https://github.com/oakmac/example-tic-tac-toe

Example Tic Tac Toe Game
https://github.com/oakmac/example-tic-tac-toe

Last synced: about 1 year ago
JSON representation

Example Tic Tac Toe Game

Awesome Lists containing this project

README

          

# Example Tic-Tac-Toe Game

Basic [tic-tac-toe] game using JavaScript.

Teaching concepts are:
* separating concerns using small functions
* managing game state using JavaScript data
* defensive programming using predicate functions to check input
* HTML rendering / building using [template literals]
* DOM event handling

Built as a teaching exercise for [DigitalCrafts] Flex students, Sep 2018.

## License

[ISC License](LICENSE.md)

[tic-tac-toe]:https://en.wikipedia.org/wiki/Tic-tac-toe
[template literals]:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
[DigitalCrafts]:https://www.digitalcrafts.com/