Last updated: 2024-08-30
- The Card Game App is an educational card game web application (web app) designed for children, students, and game enthusiasts alike.
- The game features multiple categories, game modes, and difficulty levels to cater to different age groups and skill requirements.
- Responsive Support: Supports running on desktops, tablets, mobile phones, and other devices with a web browser.
- Click-to-go: No installation required; can be played directly in the browser without any downloads or setup.
- 5+ categories
- 10+ card games available
- Designed for age 3+ (grade 1+)
- Display pairs of images representing the same thing
- MaterialTypes = [IMAGE]
- Designed for age 6+ (grade 4+)
- Display pairs of image and related name representing the same thing
- Multi languages (EN, TC)
- MaterialTypes = [IMAGE, NAME]
- User clicks [Start] to start the game.
- All cards faced-up.
- User clicks each card to select.
- System checks selected cards:
- if match: dim matched cards, update statistics
- else: unhighlight mismatched cards
- User clicks [Start] to start the game.
- All cards faced-down.
- User clicks each card to reveal.
- System checks revealed cards:
- if match: dim matched cards, update statistics
- else: flip mismatched cards back
- Increase grid size (e.g., 2x3, 3x4, 4x4, 4x5, 4x6, ...)
- Image-Image
- Image-Image + Image-Name
- Reduce Time Limit
- Interesting / Educational Images to be shown after passing each level.
- facebook/react: Use React (v18.3.1) to build the user interface and manage state changes.
- remix-run/react-router: Use React Router (v6.26.0) for creating client-side routing system easily.
- vitejs/vite: Use Vite (v5.4.0) for frontend building tool with zero config.
- twbs/bootstrap: Use Bootstrap (v5.3.3) for rapidly styling web pages quickly and consistently.
- react-bootstrap/react-bootstrap: Use react-bootstrap (v2.10.1) for creating responsive, accessible UI components.
- react-icons/react-icons: Use react-icons (v5.3.0) for adding icons to React applications easily.
- davidhu2000/react-spinners: Use react-spinners (v0.14.1) for displaying loading animations in React apps.
- json-server/json-server: Use json-server (v0.17.4) as a fake REST API by loading JSON files to retrieve game data.
- Clone the repository using
git clone https://github.com/befprg/cgp-card-game-app.git - Install dependencies using
npm install - Start the development server using
npm run dev - Open your web browser and navigate to
http://localhost:3000 - Start playing the game!