Skip to content

cikeyz/xoxo-array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XOXO.array

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

HTML5 CSS3 JavaScript License MIT

Contents

Overview

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.

Features

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

Quick Start

git clone https://github.com/cikeyz/xoxo-array.git
cd xoxo-array
python -m http.server 8000

Open http://127.0.0.1:8000/

Project Structure

xoxo-array/
├── index.html
├── game.js
├── styles.css
├── LICENSE
├── README.md
└── .gitignore

Other experiments

Branch Notes
experiment/super-tictactoe Post-course Super TICTACTOE playground. Not the submitted case study; do not merge into main.

License

MIT. See LICENSE.

Course Note

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.

About

Browser tic-tac-toe with array-backed state, undo, and a minimax opponent.

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors