https://github.com/rajjitlai/tictactoe
A classical Tic-Tac-Toe game application using C++
https://github.com/rajjitlai/tictactoe
Last synced: 29 days ago
JSON representation
A classical Tic-Tac-Toe game application using C++
- Host: GitHub
- URL: https://github.com/rajjitlai/tictactoe
- Owner: rajjitlai
- Created: 2022-11-04T01:49:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-04T02:03:39.000Z (almost 3 years ago)
- Last Synced: 2025-01-12T21:32:10.124Z (9 months ago)
- Language: C++
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TIC TAC TOE
A classical Tic-Tac-Toe game application using C++💫 About this project:
⭐ This project is created using the C++ programming language.
⭐ INTRODUCTION:
➡️ In this game, two players alternately place X's and 0's into a 3x3 playing field.
➡️ Before starting the game, both the players have to agree as to who will make the first move and with which symbol.
➡️ After the first move, the players alternately place their marks in any empty cell.
➡️ The goal of the game is to be the first player with same three marks in a horizontal, diagonal or vertical line.
➡️ If there are no empty cells and neither player has a winning combination, the game is a draw.
➡️ The program creates a simple and user-friendly interface first for the user.
➡️ Then it asks the user to enter their choices and verifies whether the choices exercised by the user has been opted before or not.
➡️ If not,it allocates the user the opted place and shows the necessary change on the tic-tac-toe table.
➡️ After each move, the program checks whether that move results in the win of the player.
➡️ If yes, it displays the message and the game is over, else, the other player gets the chance.
➡️ If all places fill out without anyone winning the game, the game ends in a draw.
⭐ INSTRUCTIONS:
➡️ 1. This is a game to be played by two players.
➡️ 2. The moves by Player 1 is denoted by X and moves by Player 2 by 0.
➡️ 3. The aim of the game is to complete a row, or a diagonal first.
➡️ 4. The Player who has three symbols in line first wins.
➡️ 5. To select a place for a move first enter the row no & then the column no.🤗 Thank you so much for visiting!