Skip to content
fluxaroPublic

About

A punchy, retro-arcade reimagining of classic Tic-Tac-Toe built with **React Native (Expo SDK 57)** and **TypeScript**. Featuring custom tactile 3D neubrutalist UI components, immersive haptic feedback via `expo-haptics`, and an **Infinity Mode** (3-mark queue limit) that permanently eliminates stalemates and draws. ### ✨ Key Features

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Tic-Tac-Toe Retro Infinity Edition Logo

🎮 Tic-Tac-Toe: Retro Infinity Edition

An elite, tactile, retro-playful mobile game engineered with React Native, Expo SDK 57, and TypeScript.

Expo SDK React Native TypeScript License

Screenshots • Features • Game Modes • Visual & Haptic Juice • Architecture • Getting Started


📖 Overview

Tic-Tac-Toe: Retro Infinity Edition reimagines the ancient 3x3 game into an addictive, dynamic strategy title styled precisely after vintage 1970s–80s comic books and retro arcade machines.

Say goodbye to monotonous stalemates! With our custom Infinity Mode (Fading Marks), each player is restricted to 3 marks at a time. Placing a 4th piece vanishes your oldest mark on the board, opening up infinite tactical chains, traps, and dynamic victories.


📸 App Showcase & Screenshots

In-App Mobile Experience

🚀 Animated Splash 🏠 Home Menu ⚔️ Active Gameplay

🏆 Victory & Robot Mascot Dialog ⚙️ Settings & Customization

✨ Key Features

  • 🕹️ Infinity Mode (3-Piece Limit): Automatic queue eviction of your oldest mark. Stalemate draws are 100% eliminated!
  • 🤖 Tiered Strategic AI:
    • Easy: Casual, exploratory placements.
    • Medium: Actively capitalizes on winning lines and blocks incoming human threats.
    • Expert (Hard): Minimax search algorithm simulating future board states and eviction consequences.
  • 👥 Local Pass & Play: Smooth 2-player mode on a single device.
  • ⚡ Blitz Speed Mode: Optional turn countdown timer (3-second clock) for rapid-fire play.
  • 📳 Multi-Tiered Tactile Haptics: Powered by expo-haptics with light taps on buttons, medium impacts on mark placement, heavy rigid buzzes on piece eviction, and celebratory success rhythms.
  • 📱 Full Notch & Dynamic Island Clearance: Responsive safe area management via react-native-safe-area-context perfectly avoiding punch-hole cameras, notches, and status bars.
  • 🎨 100% Pure Vector UI: Clean @expo/vector-icons and SVG illustrations—zero blurry emojis.
  • 📺 Cartoon Robot Mascot: An expressive retro animated robot with CRT screen expressions, power gauge meter, and hilarious comic dialogue.

🕹️ Game Modes

1. Infinity Mode (Fading Marks)

In standard Tic-Tac-Toe, two skilled players will draw 100% of the time. Infinity Mode changes the game:

  1. Each player can maintain at most 3 active pieces on the board.
  2. Once a player has 3 pieces, their 1st (oldest) mark enters a fading warning state with a pulsing glow and dashed badge.
  3. Placing your 4th mark instantly evicts your 1st mark, clearing that tile for new moves.
  4. A rigid haptic buzz triggers upon eviction. Wins can be scored by strategically relocating your lines!

2. Classic Mode

  • Traditional 3x3 rules.
  • Real-time win line illumination across all 8 possible combinations (3 rows, 3 columns, 2 diagonals).
  • Automatic draw detection.

3. AI Difficulties

  • Easy: Plays random valid slots. Great for kids and casual fun.
  • Medium: Evaluates immediate wins and blocks opponent win paths.
  • Expert: Advanced Minimax forward-search. In Classic Mode, it cannot be defeated; in Infinity Mode, it looks ahead several plies accounting for queue shifts.

🎨 Visual & Haptic Juice

Element Visual Specification Behavior / Mechanics
Primary Background Vintage Cream & Peach (#FFF3E3, #FFEAD2) Warm, comfortable nostalgic paper feel
Chunky 3D Buttons Terracotta Coral (#D84A4A) with dark border (#2C221E) and solid shadow (#8C1F1F) Front face translates down 4px on press with spring return
3x3 Board Tiles Cream slots (#FFE6CC), 20px border radius, 2px dark contours Tactile push depth, highlights in warm gold (#FFF07C) on victory
X Symbol Bold Indigo/Purple (#5451D6) with offset drop shadow (#262262) Pulses between 0.3–0.75 opacity with dashed badge when fading
O Symbol Soft Coral Donut (#FA7F72) with interior & exterior shadows Pulses between 0.3–0.75 opacity with dashed badge when fading
Retro Rainbow Cobalt Blue (#4F75FF), Sunshine Yellow (#FFD028), Bubblegum Pink (#FF7AC6) Curved corner band accented with a smiling 4-leaf clover mascot
Robot Mascot CRT monitor face, dual antennas, analog heart gauge, articulated arms Animated floating bob with expanding and contracting ground shadow

📁 Project Architecture

tik-tak/
├── assets/
│   ├── icon.png                 # Official retro game app icon
│   ├── splash-icon.png          # High-resolution splash icon
│   └── screenshots/             # In-app screenshot gallery
│       ├── splash_screen.png    # Animated splash screen
│       ├── home_screen.png      # Home menu with mascot
│       ├── game_screen.png      # Active 3x3 match
│       ├── victory_screen.png   # Victory modal & dialogue
│       └── settings_screen.png  # Settings & difficulty toggles
├── components/
│   ├── ChunkyButton.tsx         # Tactile 3D push-button with 4px translation & haptics
│   ├── BoardTile.tsx            # Responsive 3x3 slot with 20px radius & win highlights
│   ├── SymbolGlyph.tsx          # Vector 3D X and O glyphs with fading warning states
│   ├── RetroRainbow.tsx         # 3-stripe curved retro rainbow vector with 4-leaf clover
│   ├── RobotMascot.tsx          # Animated cartoon robot mascot with CRT expressions
│   └── SplashScreen.tsx         # Animated spring entrance splash screen
├── constants/
│   └── theme.ts                 # Color palette tokens, 3D shadow presets, & haptic triggers
├── hooks/
│   └── useTicTacToe.ts          # Core state engine: Infinity queue eviction, Classic mode, AI
├── App.tsx                      # View controller: Home, Active Game, Settings, Help, Modal
├── app.json                     # Expo SDK 57 configuration & splash screen plugin
├── tsconfig.json                # Strict TypeScript configuration
└── package.json                 # Dependencies and build scripts

🚀 Getting Started

Prerequisites

  • Node.js (v18 or v20+ recommended)
  • Expo Go app on your mobile device (iOS or Android)

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/tik-tak.git
    cd tik-tak
  2. Install dependencies:

    npm install
  3. Start the development server:

    npx expo start
  4. Launch on your device:

    • iOS / Android: Open the Expo Go app and scan the QR code displayed in your terminal.
    • iOS Simulator: Press i in your terminal.
    • Android Emulator: Press a in your terminal.
    • Web Browser: Press w in your terminal.

🛠️ Verification & Quality Assurance

  • Type Safety: Verified clean compilation via npx tsc --noEmit (0 errors).
  • Hermes Bundling: Fully tested against npx expo export -p ios, bundling 790+ modules cleanly in under 10 seconds.
  • Haptic Fallback: Automatic platform detection providing web vibration support via navigator.vibrate when run outside mobile environments.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A punchy, retro-arcade reimagining of classic Tic-Tac-Toe built with **React Native (Expo SDK 57)** and **TypeScript**. Featuring custom tactile 3D neubrutalist UI components, immersive haptic feedback via `expo-haptics`, and an **Infinity Mode** (3-mark queue limit) that permanently eliminates stalemates and draws. ### ✨ Key Features

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages