Tertiary Infotech AcademyTertiary Infotech Academy

Tic-Tac-Toe AI

alfredang/tic-tac-toe-ai

A sleek, modern Tic-Tac-Toe game built with vanilla HTML, CSS, and JavaScript. Features a responsive dark-mode UI, unbeatable Minimax AI, and smooth animations.

Live demo →  ·  View on GitHub →  ·  Get a quote →

▶ Open live demo — https://alfredang.github.io/tic-tac-toe-game/

Tic-Tac-Toe AI screenshot

About the project

A sleek, modern, and responsive Tic-Tac-Toe game built entirely with vanilla HTML, CSS, and JavaScript.

Tech stack

JavaScript   css   github-action   github-pages   html   javascript   tic-tae-toe-game

Key features

  • Modern UI/UX: Clean dark-mode interface with soft shadows, rounded corners, and smooth transitions.
  • Responsive Design: Fully functional on both desktop and mobile devices.
  • Interactive Gameplay:
  • [NEW] Single Player Mode (vs CPU): Challenge an unbeatable AI opponent.
  • Two-player local mode (X vs O).
  • Visual indicators for player turns.
  • Animated win lines/glow effects.
  • Modal popups for round results (Win or Tie).

Project details

Repositorytic-tac-toe-game
Live demohttps://alfredang.github.io/tic-tac-toe-game/
Primary languageJavaScript
Last update13 Feb 2026

Want something like this for your team?

We build bespoke web tools, AI applications, dashboards, training simulators, and integrations for Singapore organisations — from a single-file browser tool to a full Next.js + Postgres + AI stack. Fixed-fee scoping, weekly demos, no vendor lock-in.

Three ways to start:

Built and maintained by Tertiary Infotech Academy — see our AI Solutions, AI Agent Deployment, and Training Management System services.

[ FREE CONSULTATION ]

Want something like Tic-Tac-Toe AI for your team?

Tell us what you're building. We'll scope a fixed-fee deployment, share a working prototype within 1–2 weeks, and hand over a self-hosted system you fully own — no vendor lock-in, weekly demos, Singapore data residency by default.

  • ✓ Fixed-fee scoping with a clear deliverable
  • ✓ Weekly demo cadence — no surprises
  • ✓ Self-hosted in your own cloud — your data, your control
  • ✓ Free reply within 1 business day

[ Free consultation · reply within 1 business day ]