Skip to content

ryomario/tic-tac-toe_xoxo

Repository files navigation

Tic Tac Toe - xOxO

Challenge your mind, conquer the classic game!

last-commit repo-top-language repo-language-count

Built with the tools and technologies:

npm React TypeScript Vite


Table of Contents

Overview

tic-tac-toe_xoxo is a modern web-based implementation of the classic Tic Tac Toe game, designed for developers seeking an engaging and interactive gaming experience.

Why tic-tac-toe_xoxo?

This project combines TypeScript and React to deliver a seamless Tic Tac Toe experience while addressing common developer pain points. The core features include:

  • 🎮 TypeScript Configuration: Ensures strict type-checking and compatibility with modern JavaScript, enhancing code quality.
  • ⚙️ React Integration: Utilizes React for a dynamic user interface, improving user engagement and interaction.
  • 🤖 AI Functionality: Implements intelligent gameplay through the minimax algorithm, providing a challenging opponent.
  • 📦 Modular Architecture: Promotes maintainability and scalability, allowing developers to easily extend features.
  • 🔒 Dependency Management: Uses pnpm for consistent dependency versions, minimizing "it works on my machine" issues.
  • 🕹️ Game State Management: Centralized context for managing game state, enhancing the user experience.

Getting Started

Prerequisites

This project requires the following dependencies:

  • Programming Language: TypeScript
  • Package Manager: NPM

Installation

Build tic-tac-toe_xoxo from the source and intsall dependencies:

  1. Clone the repository:
git clone https://github.com/ryomario/tic-tac-toe_xoxo
  1. Navigate to the project directory:
cd tic-tac-toe_xoxo
  1. Install the dependencies:

Using NPM:

npm install

Usage

Run the project with:

npm start

Demo

Try live demo