Browser tic-tac-toe with array-backed state, undo, and a minimax opponent.
Vanilla HTML, CSS, and JavaScript. No build step.
Live Demo · GitHub Pages · Quick Start · Structure · License
XOXO.array is a polished tic-tac-toe client that keeps the board, move history, and win checks in plain JavaScript arrays. Play local two-player or against a minimax AI, track scores and move timing, and switch themes without leaving the page.
| Feature | Description |
|---|---|
| Array board | 9-cell board with move history for undo |
| Modes | Local two-player or single-player vs minimax AI |
| Scoreboard | Running X/O scores, move count, and session timer |
| Themes | Multiple visual themes from the side panel |
| Controls | New game, undo last move, reset stats |
git clone https://github.com/cikeyz/xoxo-array.git
cd xoxo-array
python -m http.server 8000xoxo-array/
├── index.html
├── game.js
├── styles.css
├── LICENSE
├── README.md
└── .gitignore
| Branch | Notes |
|---|---|
experiment/super-tictactoe |
Post-course Super TICTACTOE playground. Not the submitted case study; do not merge into main. |
MIT. See LICENSE.
Built for CMPE 201 (Data Structures and Algorithms), Polytechnic University of the Philippines, under Engr. Julian L. Lorico Jr. Final project case study. Published here as a standalone project.