Skip to content

NakliTechie/3d-tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

3D Tic-Tac-Toe

Simple example of a Three.js game created using Claude Code.

A fully playable 3D tic-tac-toe game in the browser — no build step, single HTML file.

Play it: https://naklitechie.github.io/3d-tic-tac-toe/

Features

  • Three board sizes: 3×3×3 (49 win lines), 4×4×4 (76 win lines), 5×5×5 (109 win lines)
  • Drag to rotate the board, click to place pieces
  • X and O rendered as 3D shapes (crossed bars and torus)
  • 2-player and vs AI modes (minimax with alpha-beta pruning)
  • Win detection with gold highlight animation

Play

Just open index.html in a browser, or visit the link above.

Palette

Coloured with russia-10 · НОЧЬ NOCH' — a Russian winter night: midnight-blue body, samovar-gold ink, scarlet X, royal-blue O.

Palette pulled from Rangrez, the global colour-palette library that backs all NakliTechie projects.


Part of the NakliTechie series

Tool What it does
BabelLocal Offline translation — 200 languages, NLLB model
StripLocal EXIF metadata stripper — nothing leaves the browser
GambitLocal Chess vs Stockfish — correspondence mode via URL
VoiceVault Audio transcription — Whisper, offline-first
KingMe English draughts — custom minimax AI, zero deps
SnipLocal Background remover — RMBG-1.4, passport mode
Clacker Split-flap display — browser-native, offline
Strait Command Mine-clearing game in strategic waterways
Chokepoint Maritime tower defense — hold the strait
PredictionMarket Prediction market simulator — Parimutuel & LMSR
PDFLOcal PDF editor — merge, split, rotate, annotate
RangeLocal Missile range simulator — interactive globe & map
3D Tic-Tac-Toe 3D tic-tac-toe — 3×3×3 to 5×5×5, minimax AI

Built by Chirag Patnaik

About

3D Tic-Tac-Toe playable in the browser — Three.js, vs AI or 2-player

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages