Skip to content

hirakjyoti08/Tic-Tac-Toe-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe-game

This is a simple Tic-Tac-Toe game built using Flutter. The game features two players, 'X' and 'O', and a timer of 30 seconds for each round. When a player wins, the winning combination of boxes is highlighted.

Features

  • Two players: 'X' and 'O'
  • Timer of 30 seconds for each round
  • Highlights the winning combination of boxes
  • Game starts when the user clicks the "Play" button

How to Play

  1. Launch the game.
  2. Click the "Play" button to start the game.
  3. Each player takes turns tapping on the grid to place their symbol ('X' or 'O').
  4. The game automatically checks for a winning combination after each move.
  5. If a player wins, the winning combination is highlighted.
  6. The timer counts down from 30 seconds for each turn.
  7. Click the "Play Again!" button to start a new game.

Getting Started

To run this project locally, follow these steps:

  1. Clone this repository to your local machine.
  2. Open the project in your preferred IDE or code editor.
  3. Run the project using a simulator or a physical device.

Dependencies

This project uses the following dependencies:

  • flutter/material.dart: Flutter framework for building the UI.
  • google_fonts: For using Google Fonts in the UI.

Screenshots


Releases

No releases published

Packages

No packages published

Languages