#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.
- Clone this repo.
- Install npm dependency
npm install
- Compile typescript to plain JS
webpack
Or check: DEMO
###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.