bini-i / Tic-Tac-Toe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tic-Tac-Toe

Project Description

This is a Tic-Tac-Toe game made with ruby

screenshot

Game Rules

  • The game is played on a grid that's 3 squares by 3 squares.

  • You are X, your friend (or the computer in this case) is O. ...

  • The first player to get 3 of their marks in a row (up, down, across, or diagonally) is the winner.

  • When all 9 squares are full, the game is over

How to play this game

  • Clone the repo

  • Navigate to bin folder and run main.rb

step1

  • Press Enter to start playing

step2

  • Press s and Enter to start

step3

  • Enter player names

step4

  • Start playing (Player 1 is 'X' and Player 2 is 'O')

step5

  • To Mark a spot on the Board you can use the coordinates to the left and bottom of the board. eg. A2

  • Note: Make sure you start with the letters 'A' or 'B' or 'C'.

step1

  • After finishing a game, you can choose to play another game by pressing 'r'

step1

  • You can press 'q' to quit the game.

Built With

  • Ruby

Live Demo

Live Version

Authors

πŸ‘€ Binyam Hailemeskel

πŸ‘€ Sinan Sevgi

🀝 Contributing

Contributions, issues, and feature requests are welcome!

Show your support

Give a ⭐️ if you like this project!

πŸ“ License

This project is MIT licensed.

About

License:MIT License


Languages

Language:Ruby 100.0%