MemoryGame
Memory Game is built using Slint UI Rust.
Video demo: https://app.gemoo.com/share/home?codeId=DGlLJep7KGgY7
The Memory Game is a simple game where you need to find matching pairs of cards. Here's how to play:
- Click on a card to reveal its symbol.
- Click on another card to reveal its symbol.
- If the symbols on the two cards match, they will remain face up.
- If the symbols on the two cards do not match, they will be flipped back face down.
- Continue flipping cards and trying to find matching pairs until all cards are matched.
- Timer: The game includes a timer that keeps track of the time it takes you to complete the game.
- Score: The game keeps track of your score based on the number of moves you make.
- Attempts: Keeps track number of trials you have made to match tiles
- Restart: You can restart the game at any time by clicking on the restart button.
- Quit Game: You can quit the game by clicking on 'quit game ' button.
The Memory Game app is built using Rust programming language. Rust provides a safe and efficient way to develop high-performance applications.
To build and run the Memory Game app, follow these steps:
-
Install Rust by following the Rust Getting Started Guide. This will install the
rustccompiler and thecargobuild system. -
Clone the Memory Game repository to your local machine:
git clone https://github.com/mwihoti/memory-game.git -
Navigate to the project directory:
cd memory-game -
Build the Rust project using cargo:
cargo build -
Run the application binary:
cargo run
Make sure you have Rust and cargo installed on your system before building and running the game.
If you would like to contribute to the Memory Game app, please follow these steps:
- Fork this repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your forked repository.
- Submit a pull request to the main repository.
This project is licensed under the MIT License. See the LICENSE file for more information.
If you have any questions or suggestions, please feel free to contact at ().