Skip to content

Memory card game built with React, TypeScript, and Tailwind CSS

Notifications You must be signed in to change notification settings

igortullio/memory-game

Repository files navigation

Memory Game

A modern, responsive Memory Game built with React, TypeScript, and Tailwind CSS.

Screenshot 2025-05-05 at 18 47 00 Screenshot 2025-05-05 at 18 47 37 Screenshot 2025-05-05 at 18 49 02

Features

  • 🎮 Classic Memory Game gameplay with smooth animations
  • 🎨 Modern and responsive UI with Tailwind CSS
  • ⚡ Built with React 19 and TypeScript
  • 🎨 Styled with Tailwind CSS 4 and utility-first approach
  • 🚀 Optimized for performance with Vite 6
  • 📱 Mobile-friendly design
  • 🎯 Accessibility features with ESLint JSX A11y
  • 🛠️ Comprehensive development tools (ESLint, Prettier, TypeScript)

Tech Stack

Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • pnpm (recommended) or npm

Installation

  1. Clone the repository:

    git clone https://github.com/igortullio/memory-game.git
    cd memory-game
  2. Install dependencies:

    pnpm install
  3. Start the development server:

    pnpm dev
  4. Open http://localhost:5173 in your browser.

Available Scripts

  • pnpm dev - Start the development server with hot reload
  • pnpm build - Build the project for production with TypeScript compilation
  • pnpm preview - Preview the production build locally
  • pnpm lint - Run ESLint to check code quality and accessibility

Project Structure

memory-game/
├── src/
│   ├── components/    # React components
│   ├── hooks/         # Custom React hooks
│   ├── lib/           # Utility functions and shared logic
│   ├── constants.ts   # Application constants
│   ├── types.ts       # TypeScript type definitions
│   ├── App.tsx        # Main application component
│   ├── main.tsx       # Application entry point
│   └── index.css      # Global styles
├── public/            # Static assets
├── index.html         # HTML entry point
├── vite.config.ts     # Vite configuration
├── tsconfig.json      # TypeScript configuration
├── eslint.config.js   # ESLint configuration
└── package.json       # Project dependencies and scripts

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

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

About

Memory card game built with React, TypeScript, and Tailwind CSS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published