https://github.com/devklick/simon-says
Simon Says - Gtk application written in Rust
https://github.com/devklick/simon-says
adwaita gtk gtk4 rust rust-lang
Last synced: about 1 month ago
JSON representation
Simon Says - Gtk application written in Rust
- Host: GitHub
- URL: https://github.com/devklick/simon-says
- Owner: devklick
- Created: 2025-04-27T20:13:26.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-28T07:31:57.000Z (about 1 year ago)
- Last Synced: 2025-04-28T11:18:59.753Z (about 1 year ago)
- Topics: adwaita, gtk, gtk4, rust, rust-lang
- Language: Rust
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Simon Says Game
This is a simple implementation of the classic Simon Says memory game, where the player must repeat a randomly generated sequence of colors and sounds.
## How to Play
- The game starts with a short sequence.
- The colored buttons light up in a random order, and the player must repeat the sequence by pressing the corresponding buttons.
- If the player repeats the sequence correctly, the game will add another color to the sequence.
- The game continues until the player makes a mistake, at which point the game ends.
## Working with the code
You'll need the following dependencies:
- [Node.js](https://nodejs.org/en) (perhaps use [nvm](https://github.com/nvm-sh/nvm) to manage your Node.js installation)
- [Gjs](https://gjs.guide/guides/gtk/3/03-installing.html#installing-gjs)
- A Linux environment
Clone the repository:
```
git clone https://github.com/devklick/simon-says.git
cd simon-says
```
Install dependencies, compile schemas, and run the project:
```
npm install
npm run compile-schemas
npm start
```
## Future Enhancements
- Build and release (flatpak?)
- Add difficulty levels (e.g., slow, medium, fast).
- Improve visuals
- Add game over screen with player statistics (score, highest score etc).