Skip to content

A React UI for the “Power-Up Tic-Tac-Toe” game featuring a dynamic board size, the ability to choose X or O symbols, and a power-up overwrite feature. It connects to the REST backend via Axios.

Notifications You must be signed in to change notification settings

octahori/tictactoe-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Power-Up Tic Tac Toe (Frontend)

A lightweight React SPA that lets you play an enhanced Tic-Tac-Toe game with “Overwrite” power-ups. The app consumes a REST API (/game, see .src/api/gameApi.js).

⚠️ Status: Inactive

This application is currently not live. The deployment has been taken down, so there is no public URL available at the moment. You can still clone the repository and run it locally for learning purposes.

This project was bootstrapped with Create React App.

Quick Start

  1. Install dependencies
npm install
  1. Start development server (auto-reloads on save)
npm start

The app runs on http://localhost:3000.

  1. Run unit tests (watch mode)
npm test
  1. Build for production
npm run build

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Tech Stack

  • React 19 + React-Scripts 5
  • Axios — REST communication
  • Testing Library + Jest — unit tests

Project Structure (key parts)

src/
 ├─ api/          # REST API helpers
 ├─ components/   # Reusable UI components (Board, Cell)
 ├─ pages/        # Page-level components (GamePage)
 └─ constants/    # Shared constants

About

A React UI for the “Power-Up Tic-Tac-Toe” game featuring a dynamic board size, the ability to choose X or O symbols, and a power-up overwrite feature. It connects to the REST backend via Axios.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published