This project consists of a Ruby version of the Tic Tac Toe game.
To run this project, you need a computer with Ruby installed.
If you are uncertain on how to install Ruby, check out this tutorial made by The Odin Project.
- Clone the repository:
https://github.com/VanessaAoki/TicTacToe.git
-
Type
$ cd bin
to move to the bin folder; -
Execute the file by using
$ main
on the terminal; -
Enter your moves on the terminal and enjoy the game!
-
If you prefer, you can run the game on your web browser by clicking on this link;
-
Click on the green button that says 'Run' at the top of the page to start the tic tac toe game;
-
Type
$ cd bin
to move to the bin folder; -
Execute the file by using
$ main
on the terminal; -
Enter your moves on the terminal and enjoy the game!
-
Tic tac toe is a 2-player game, X and O;
-
Players alternate turns to choose a move on a 3x3 grid, like this one:
1 | 2 | 3
-----------
4 | 5 | 6 --> This is the tic tac toe board
-----------
7 | 8 | 9
-
The first player to secure three consecutive positions on a row, column or diagonal wins;
-
The end games in a tie if neither player has won and all positions on the board are taken.
- Ruby
- Visual Studio, Git & GitHub
👩🏼💻 Vanessa Aoki
- GitHub: @VanessaAoki
- Twitter: @VanessaSAoki
- Linkedin: Vanessa Aoki
🧑💻 Sunil Kumar
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.