Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/remarkablegames/memory-card
🃏 Memory card game
https://github.com/remarkablegames/memory-card
card-game concentration-game javascript memory-card memory-card-game memory-game memory-matching memory-matching-game phaser typescript web
Last synced: about 1 month ago
JSON representation
🃏 Memory card game
- Host: GitHub
- URL: https://github.com/remarkablegames/memory-card
- Owner: remarkablegames
- License: mit
- Created: 2024-12-19T00:59:21.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2024-12-19T02:09:50.000Z (about 1 month ago)
- Last Synced: 2024-12-19T02:19:21.607Z (about 1 month ago)
- Topics: card-game, concentration-game, javascript, memory-card, memory-card-game, memory-game, memory-matching, memory-matching-game, phaser, typescript, web
- Language: TypeScript
- Homepage: http://remarkablegames.org/card-memory/
- Size: 442 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Memory Card
![release](https://img.shields.io/github/v/release/remarkablegames/memory-card)
[![build](https://github.com/remarkablegames/memory-card/actions/workflows/build.yml/badge.svg)](https://github.com/remarkablegames/memory-card/actions/workflows/build.yml)This is a simple [memory card game](https://github.com/phaserjs/create-game/tree/main/scaffolding/demo/memory-card-game). The goal is to match all the cards in the fewest number of moves.
Click on a card to reveal its symbol. Click on a second card to reveal its symbol. If the symbols match, the cards will remain face up. If the symbols do not match, the cards will be hidden again. Continue until all cards are matched.
Play the game on:
- [remarkablegames](https://remarkablegames.org/memory-card/)
## Install
Clone the repository:
```sh
git clone https://github.com/remarkablegames/memory-card.git
cd memory-card
```Install the dependencies:
```sh
npm install
```## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the game in the development mode.
Open [http://localhost:5173](http://localhost:5173) to view it in the browser.
The page will reload if you make edits.
You will also see any errors in the console.
### `npm run build`
Builds the game for production to the `dist` folder.
It correctly bundles in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your game is ready to be deployed!
### `npm run bundle`
Builds the game and packages it into a Zip file in the `dist` folder.
Your game can be uploaded to your server, [Itch.io](https://itch.io/), [Newgrounds](https://www.newgrounds.com/), etc.
## License
[MIT](LICENSE)