Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 791 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 791 Bytes

#Tic Tac Toe game

Tic-tac-toe is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game. The right of the first move is determined in a random manner.

Install

  1. Clone this repo.
  2. Install npm dependency npm install
  3. Compile typescript to plain JS webpack

Or check: DEMO

Game control

###Player 1 Use the following keys to select the cell W - up, S - down, A - left, D - right, Z - make a choose.

###Player 2 Use the arrow keys to select the cell - up, - down, - left, - right, 9 - make a choose.