Skip to content

A stylish Python Tic Tac Toe game built with Pygame where each player’s oldest moves gradually fade and vanish — only 3 moves stay visible!, featuring winner detection, easy restart, sound effects, and a modern twist on a classic game.

License

Notifications You must be signed in to change notification settings

indranil143/Fade-Tac-Toe-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🕹️ FadeTacToe - A Stylish Tic Tac Toe Game with Sound Effects and Disappearing Moves

FadeTacToe is a visually enhanced version of the classic Tic-Tac-Toe game built with Python and Pygame. It introduces a fun mechanic: each player can have only 3 visible moves on the board at a time. As new moves are made, older ones fade and then disappear, adding a dynamic visual twist to the strategy. Simple to play yet exciting, with sound effects, winner detection, and a smooth UI.


📸 Preview

Fade Tac Toe Screenshot


🎮 Features

  • 🔁 Classic Two-Player 3x3 Tic Tac Toe gameplay - (players alternate clicks to place X or O on the grid)
  • 🌟 Cool visual effect: only 3 moves stay visible for each player
  • 🎨 Smooth image rendering and fading animation
  • 🔊 Sound effects for moves and game over
  • 👑 Win detection with animated line and winner message
  • 🔄 Press SPACE to restart after a win or draw

🛠️ Requirements

  • Python 3.x
  • Pygame library (pip install pygame)

🚀 Installation & Setup

1️⃣ Clone the Repository:

git clone https://github.com/indranil143/Fade-Tac-Toe-Game.git
cd Fade-Tac-Toe-Game

2️⃣ Install Dependencies:

pip install pygame

3️⃣ Ensure Required Resources Exist:
Make sure the resources/ folder contains:
📌 field.png – Game board background
📌 x.png – X player's mark
📌 o.png – O player's mark
📌 game_over.wav – Game over sound
📌 move.wav – Move sound

🎲 Running the Game

Run the script to start playing:

python game.py

👾 Enjoy the game! Have fun battling it out in (Fade) Tic Tac Toe! 🚀🎉


About

A stylish Python Tic Tac Toe game built with Pygame where each player’s oldest moves gradually fade and vanish — only 3 moves stay visible!, featuring winner detection, easy restart, sound effects, and a modern twist on a classic game.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages