Skip to content

A simple and fun online Tic Tac Toe game with PvP and AI modes. Play against friends or challenge the AI in this classic game.

Notifications You must be signed in to change notification settings

FlowFalcon/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Typing SVG

Tic Tac Toe Online Battle

A simple and fun online Tic Tac Toe game with PvP and AI modes. Play against friends or challenge the AI in this classic game.

Features

  • Online Player vs Player mode
  • AI opponent with strategic gameplay
  • Responsive design for desktop and mobile
  • Real-time gameplay using WebSocket
  • Beautiful UI with animations
  • Game status notifications
  • Player cards showing current turn

Tech Stack

  • Frontend: HTML, CSS, JavaScript
  • Backend: Node.js, Express.js
  • Real-time Communication: Socket.IO

Live Demo 🌐

Tic-Tac-Toe

Installation

  1. Clone the repository:
git clone https://github.com/FlowFalcon/tic-tac-toe.git
cd tic-tac-toe
  1. Install dependencies:
npm install
  1. Start the server:
npm start
  1. Open http://localhost:3000 in your browser

Project Structure

tic-tac-toe
β”œβ”€β”€ package.json
β”œβ”€β”€ server.js
└── public/
    β”œβ”€β”€ index.html
    β”œβ”€β”€ style.css
    └── script.js

Game Modes

  • PvP Mode: Play against other players online in real-time
  • AI Mode: Challenge the computer with different strategies

Contributing

Feel free to submit issues and pull requests.

Acknowledgments

  • Socket.IO for real-time communications
  • Express.js team

Contact me


Made with ❀️ by FlowFalcom"# tic-tac-toe"

About

A simple and fun online Tic Tac Toe game with PvP and AI modes. Play against friends or challenge the AI in this classic game.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published