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.
- 🔁 Classic Two-Player 3x3 Tic Tac Toe gameplay - (players alternate clicks to place
XorOon 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
SPACEto restart after a win or draw
- Python 3.x
- Pygame library (
pip install pygame)
1️⃣ Clone the Repository:
git clone https://github.com/indranil143/Fade-Tac-Toe-Game.git
cd Fade-Tac-Toe-Game2️⃣ Install Dependencies:
pip install pygame3️⃣ 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
Run the script to start playing:
python game.py👾 Enjoy the game! Have fun battling it out in (Fade) Tic Tac Toe! 🚀🎉
