Hello guys !❤️😃 This project is a Tic Tac Toe game implemented in Javascript.
- Two-player mode: Players can take turns and make their moves on the game board.
- Interactive interface: The game provides a user-friendly interface for players to input their moves.
- Win detection: The game automatically detects when a player has won or if the game ends in a draw.
- Launch the game by running the program.
- The game board will be displayed on the command line interface.
- Players will take turns entering their moves by specifying the row and column of their desired position on the board.
- The game will continue until a player wins or the game ends in a draw.
- After the game ends, players can choose to play again or exit the program.
$ ./tic-tac-toe Welcome to Tic Tac Toe!
Player 1: X Player 2: O
7 | 8 | 9
Player 1's turn. Enter your move: 5
7 | 8 | 9
Player 2's turn. Enter your move: 2
7 | 8 | 9
...
Player 1 wins!
Do you want to play again? (Y/N): N Thank you for playing Tic Tac Toe!
For any questions or inquiries, please contact Danialeyvaziiii@gmail.com.
master