/hash-game

hash game developed for a class exercise in javascript

Primary LanguageJavaScript

Hash-game

Hash game developed for a class exercise in javascript

exercise statement

Develop and deploy a website that contains a script (in JavaScript) that allows two users to compete Tic Tac Toe game.

  • When loaded, the page must request the name of each user;
  • Next, the page must adjust the tray to the beginning of a new game, indicating whose turn it is (by name);
  • Whenever a player (X or O) wins or a draw occurs, a suitable message must be triggered;
  • The HTML document must follow the most recent version.

pages

  1. index.html - where users write their names initial-page

  2. game.html - tic tac toe game game-page