My mother has been losing memory these days. And she has some pride in not using apps already available in the play store. So, I thought I create a game and with some sense of pride, she would play it. Thus began the journey of the Concentration game. Bevy game engine in rust lang was my choice. I set up the dev-env in Linux (ArcoLinux - Arch). Hopping from one tutorial to another, settled with the minesweeper example found on Bevy assets page.
Going through the tutorial repository tag by tag ( git checkout <chapter number>
) was useful to copy the necessary code for that concept in the chapter. After following all the Chapters, I have a working wasm project available at recall-stones on itch.io.
Some facts:
For a given deck of cards n
.
The game will be over in n
turns if the player is totally lucky.
The game would be over in 2*n -1
if the player has a perfect memory.
Current features:
- Deck of cards randomized to a number
- Colored numbers to help memorize
- Finishing a deck within moves are less than the number of cards (2*n) would progress the level
- Revealed cards display the number of times they were flipped
Features planned:
- Different modes
- Tutorial
- Proper menu
- Game stats and user data