š® React Games Collection
A collection of classic games rebuilt with modern web technologies - React, TypeScript, and Tailwind CSS.

šÆ Overview
Four classic games reimagined using modern web technologies. Built for mobile, compatible with desktop. Perfect for learning React patterns and game development concepts. Features responsive design, touch support, and keyboard controls.
š² Games Included
- 2048: Slide and combine tiles to reach 2048
- Bird Flapper: A flappy bird inspired game
- Word Guesser: A Wordle-like word guessing game
- Higher or Lower: A card guessing game
⨠Features
- Modern Tech Stack: Built with React 18, TypeScript, and Tailwind CSS
- Responsive Design: Playable on both desktop and mobile devices
- Multiple Control Methods: Keyboard, touch, and click controls
- Clean Architecture: Well-organized component structure
- Type Safety: Full TypeScript implementation
- Performance Optimized: Built with Vite for fast development and production builds
š Quick Start
Clone the repository:
git clone https://github.com/WDibble/react-games
Install dependencies:
npm install
Start the development server:
npm run dev
Open http://localhost:5173 in your browser
š Tech Stack
- Framework: React 18 with TypeScript
- Styling: Tailwind CSS
- Build Tool: Vite
- Routing: React Router DOM
- State Management: React Hooks
š Project Structure
āāā src/
ā āāā pages/ # Game components
ā ā āāā BirdFlapper.tsx
ā ā āāā HigherOrLower.tsx
ā ā āāā TwentyFourtyEight.tsx
ā ā āāā WordGuesser.tsx
ā āāā App.tsx # Main app component
ā āāā main.tsx # Entry point
š® Game Controls
2048
- Arrow Keys: Move tiles
- Touch: Swipe in any direction
- On-screen Buttons: Click arrows to move
Bird Flapper
- Space: Flap/Jump
- Touch/Click: Tap to flap
Word Guesser
- Keyboard: Type letters
- Enter: Submit guess
- Backspace: Delete letter
Higher or Lower
- Buttons: Click Higher/Lower
- Touch: Tap buttons to guess