Skip to content

About

This is a custom twist on classic Tic-Tac-Toe, built with Flutter. The game introduces a dynamic rule: each player can only have a maximum of 3 active symbols on the board at any time.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

Tic-Tac-Toe-No-Draw

Tic-Tac-Toe with one twist (No Draws), inspired by the Tic Tac Toe Bolt electronic game device. Each player can only have 3 symbols on the board. Place a 4th and your oldest vanishes. No draws, built with Flutter.


📦 Stack

  • Flutter (Dart)
  • audioplayers — sound effects
  • Material Design — dark mode UI

✨ Quick start

Create a new flutter projetc.

Add the assets and lib folders and other files to your project.

Run Those commands

flutter pub get
flutter run

Works on Android, iOS, and any Flutter-supported platform.


🎮 How to play

Two players take turns placing X and O on a standard 3×3 grid.

  • Each player can have a maximum of 3 symbols on the board
  • When you place your 4th symbol, your oldest one is automatically removed
  • The symbol about to be removed is shown at 50% opacity as a visual hint
  • First to align 3 symbols in a row, column, or diagonal wins

🤖 How it works

The game tracks a queue of placed symbols per player. On each turn:

  • The new symbol is added to the player's queue
  • If the queue exceeds 3, the oldest symbol is dequeued and removed from the board
  • Win condition is checked after every placement against all 8 possible lines
  • The fading opacity effect is applied to queue[0] the next symbol to be removed

👤 Author

Bahady — github.com/bahady1


📀 Preview

Tic.Tac.Toe.mp4

About

This is a custom twist on classic Tic-Tac-Toe, built with Flutter. The game introduces a dynamic rule: each player can only have a maximum of 3 active symbols on the board at any time.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages