Skip to content

itskartike910/tic_tac_toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

Welcome to the Tic Tac Toe game! This is a fun and interactive game that you can play in your free time. You can either play with a friend or challenge the computer.

Features

  • Two Player Mode: Challenge your friends to a game of Tic Tac Toe.
  • Play with Computer: Don't have someone to play with? No problem! You can play against the computer.

How to Play

  1. Clone this repository to your android device or download the apk file.
  2. Run the application.
  3. Choose your game mode: Two Player or Play with Computer.
  4. If you chose Two Player mode, enter Player 1 and Player 2 names.
  5. If you chose Play with Computer, enter your name.
  6. Start playing!

Rules

The rules are the same as the classic Tic Tac Toe game:

  • The game is played on a grid that's 3 squares by 3 squares.
  • The first player is O and the second player (or computer) is X. Players take turns putting their symbols on the grid.
  • The first player to get 3 of their symbols in a row (up, down, across, or diagonally) wins the game.
  • If all 9 squares are filled and no player has 3 symbols in a row, the game is a draw.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Screenshots