Skip to content

Implement advanced Tic Tac Toe module with AI and score tracking#692

Merged
steam-bell-92 merged 6 commits into
steam-bell-92:mainfrom
Nencypatel21:implement-tic-tac-toe-game
May 24, 2026
Merged

Implement advanced Tic Tac Toe module with AI and score tracking#692
steam-bell-92 merged 6 commits into
steam-bell-92:mainfrom
Nencypatel21:implement-tic-tac-toe-game

Conversation

@Nencypatel21
Copy link
Copy Markdown
Contributor

📝 Description

Implemented an advanced Tic Tac Toe game module with improved gameplay mechanics, AI support, responsive UI, and modular architecture integration.

✨ Features Added

  • Two-player mode
  • AI mode with Easy / Medium / Hard difficulty
  • Minimax-based unbeatable AI
  • Best-of-1 / 3 / 5 rounds system
  • Score tracking and final match results
  • Responsive and modern UI
  • Animated win-line overlay
  • Scoped CSS integration to avoid global style conflicts
  • Dedicated modular tic-tac-toe.js implementation
  • Added Tic Tac Toe banner asset and integrated game card into homepage

📸 Progress Screenshots

🚫 Before Integration

Tic Tac Toe was not available on the website interface.

image ---

🛠️ Initial Integration Stage

Integrated Tic Tac Toe card into the website and resolved major structural/CSS conflicts caused by global styles and modular script loading.

image ---

✅ Final Advanced Implementation

Fully functional advanced Tic Tac Toe module with AI difficulty modes, rounds system, responsive UI, score tracking, and animations.

image image

🔗 Linked Issue

Closes #563

📋 Contribution Checklist

  • [✓] My code strictly adheres to the project guidelines (Standard library only, procedural code, clean spacing).
  • [✓] I have verified that my files are placed in the correct directory.
  • [✓] I have tested my changes thoroughly on my local machine.
  • [✓] I have included interactive emojis and clean console/UI outputs.
  • [✓] GSSoC 2026: I have been formally assigned to this issue and noted it above.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 23, 2026

@Nencypatel21 is attempting to deploy a commit to the Anuj's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
python-mini-project Ready Ready Preview, Comment May 24, 2026 6:01am

@Nencypatel21
Copy link
Copy Markdown
Contributor Author

Hello @steam-bell-92 ,

Implemented and thoroughly tested the advanced Tic Tac Toe module successfully, including AI modes, responsive UI, and score tracking.

Would appreciate a review and workflow approval when possible. Thank you!

@steam-bell-92
Copy link
Copy Markdown
Owner

@Nencypatel21 Great work with gaming features n all, but the line striking is always one row above the winning row & also can we get different colors for "X" "O"

@Nencypatel21
Copy link
Copy Markdown
Contributor Author

@steam-bell-92 ,Thank you for the feedback!
I’ll work on adjusting the strike-line alignment and improve the visual distinction between the X and O markers.

@Nencypatel21
Copy link
Copy Markdown
Contributor Author

@steam-bell-92

Implemented the requested UI improvements:

  • Fixed the strike-line alignment issue
  • Added distinct styling/colors for X and O markers
  • Re-tested gameplay and win conditions after the updates

Please review the latest changes. Thank you!

Added styles for Tic-Tac-Toe game components including layout, colors, and animations.
@steam-bell-92 steam-bell-92 merged commit 2304a98 into steam-bell-92:main May 24, 2026
1 check failed
@github-actions
Copy link
Copy Markdown
Contributor

🎉 Thank you for your contribution!

Your Pull Request has been merged successfully.

We appreciate the time and effort you put into improving this project. Contributions like yours help the repository grow and stay useful for everyone.

If you'd like to contribute again, please check the open issues and make sure you are assigned before opening another Pull Request.

Thanks again for your support! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

💡 [Feature]: Implement Tic Tac Toe in Web App

2 participants