Skip to content

innopaolo/tic-tac-toe

Repository files navigation

Tic Tac Toe Game

This is a simple web-based Tic Tac Toe game implemented using HTML, CSS, and JavaScript. It allows two players to take turns and play the classic game of Tic Tac Toe. Additionally, there is an option to play against an AI opponent.

Preview

Example Image

Check out the live demo here!

Game Controls

  • Player 1 (X): Click on the "X" box to enter your name.
  • Player 2 (O): Click on the "O" box to enter your name or play against the AI.

What I Learned

  1. Front-End Development: Enhanced HTML and CSS skills for responsive UI design with animations.

  2. JavaScript Proficiency: Applied JavaScript for game logic, interactions, and AI opponent moves.

  3. Game Development: Implemented Tic Tac Toe logic, handling win conditions and game flow.

  4. AI Development: Created AI opponent using the minimax algorithm that made it unbeatable.

  5. UX Design: Focused on user experience, optimizing input and providing informative feedback.

  6. Code Organization: Employed modular code structure for maintainability and clarity.

  7. Problem Solving: Developed strong debugging and testing skills to overcome challenges.

  8. Version Control: Utilized Git for effective code management and collaboration.

Technologies Used

  • HTML5
  • CSS3
  • JavaScript

Acknowledgments

Enjoy playing Tic Tac Toe!

About

Play tic tac toe against an algorithm! Can you win?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published