Please sign in to access this page

Tic Tac Toe

Tic Tac Toe Used AI

2 devlogs
4h 13m
•  Ship certified
Created by Mahir

Advanced Tic Tac Toe is a modern reimagining of the classic 3x3 board game, built using React, Vite, and Bootstrap. It is designed not just as a game, but as a logic-building and UI-experimentation project to practice real-world React skills.

The project focuses on:

Implementing interactive game mechanics using React hooks

Managing game state and player turns

Detecting win conditions and draw situations

Adding features like scoreboard, reset button, and highlighting the winning line

Using Bootstrap for clean and responsive UI

It serves as a fun but powerful frontend exercise that combines game logic, conditional rendering, component design, and user experience — making it ideal for beginners and intermediates looking to level up.

Timeline

Ship 1

1 payout of shell 22.0 shells

Mahir

about 1 month ago

Mahir Covers 2 devlogs and 4h 13m

UI Improvements:

Redesigned layout with a clean, centered look.

Gradient background added for a modern touch.

Scoreboard and current turn display are now more prominent.

Game blocks made perfectly square with hover effects for better interactivity.

Game Logic Enhancements:

Winning combination now highlights the winning cells visually.

Game auto-resets after win/tie, improving flow.

Game blocks are unclickable after win, preventing unwanted moves.

Sound Integration:

Click sound on each move.

Separate win and tie sounds based on outcome.

All sounds preload and play seamlessly during interactions.

Tech Improvements:

App split into multiple reusable components:

Board.jsx, ScoreBoard.jsx, TurnInfo.jsx, RestartButton.jsx

Clean code with scoped styling and well-managed state.

Update attachment

Progress So Far:
Project setup done with Vite
3x3 game board created using React components
Turn logic added (X and O)
Win detection implemented
Basic Bootstrap UI integrated

What I Learned:
Using useState for managing game state
Conditional rendering in React
How to implement core game logic like win-checking
Grid layout with Bootstrap

Next Steps:
Add scoreboard & reset button
Highlight winning cells
Improve UI polish and responsiveness

Update attachment