Code Monkey home page Code Monkey logo

tic-tac-toe's Introduction

Tic Tac Toe Flutter Project

This is a basic Tic Tac Toe game built using Flutter, which includes a good user interface, dynamic input for selecting X or O for the first player move, winner detection, draw detection, launching animation, and a custom logo.

Getting Started

Follow these instructions to get the project up and running on your local machine for development and testing purposes.

  1. Clone the repository:
git clone https://github.com/your-username/tic_tac_toe_flutter.git
  1. Navigate to the project directory:
cd tic_tac_toe_flutter
  1. Make sure you have Flutter installed. If you don't, follow the Flutter installation guide to set it up.

  2. Run the app on an emulator or a physical device:

flutter run

Features

  • Dynamic input to select X or O for the first player's move.
  • Beautiful user interface with smooth animations and transitions.
  • Real-time winner detection during the game.
  • Detects a draw if no player wins the game.
  • Custom logo for a unique and personalized touch.

Screenshots

image (3)

How to Play

  1. Launch the app and you will be presented with a screen to select either X or O for the first player's move.
  2. After selecting, the game board will appear with the chosen symbol as the first player's move.
  3. Players take turns to tap on an empty cell to make their move.
  4. The game will automatically check for a winner after each move.
  5. If a player wins, a congratulatory message will be displayed along with a winning animation.
  6. If the game ends in a draw, a message indicating a draw will be shown.

Dependencies

The project uses the following Flutter packages:

  • flutter_launcher_icons: For setting up the app launcher icons.
  • animated_splash_screen: For the launching animation.

Make sure to run flutter pub get to install these dependencies before running the app.

Contributions

Contributions to this project are welcome. If you find any issues or want to improve the app, feel free to create a pull request.

Enjoy playing Tic Tac Toe! Have fun! ๐Ÿ˜„

tic-tac-toe's People

Contributors

vinay94278 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.