This is a copy of the Github readme.
Find the original on


A step toward idiomatic Rust, but not the final step.
version: 3.0 date: 2019-05-20 author: repository: GitHub


Hashtags: #rustlang #game #tutorial
My projects on Github are more like a tutorial than a finished product: bestia-dev tutorials.

Read the Last project:
You can play the game here (hosted on google cloud platform):


git clone
cd mem3


Install cargo-make:
cargo install --force cargo-make

cargo make
It will:

Please refresh the browser tabs manually after that, so they download the new files.
A little about cargo-make:

Memory game rules

This game is for exactly 2 players.
Both players must have the webpage simultaneously opened in the browser to allow communication.
To start over just refresh the webpage.
The first player clicks on 'Invite for play?' and broadcasts the message over WebSocket.
He can choose different types of play: alphabet, animal,...
Player2 then sees on the screen 'Click here to Accept play!', clicks it and sends the message back to Player1.
The game starts with a grid of 8 randomly shuffled card pairs face down - 16 cards in all.
On the screen under the grid are clear signals which player plays and which waits.
Player1 flips over two cards with two clicks. The cards are accompanied by sounds and text on the screen.
If the cards do not match, the other player clicks on 'Click here to Take your turn' and both cards are flipped back face down. Then it is his turn and he clicks to flip over his two cards.
If the cards match, they are left face up permanently and the player receives a point. He continues to play, he opens the next two cards.
The game is over when all the cards are permanently face up. It means that the sum of points is exactly 8.
Click on "Play again?" to start the game over.

cargo crev reviews and advisory

It is recommended to always use cargo-crev
to verify the trustworthiness of each of your dependencies.
Please, spread this info.
On the web use this url to read crate reviews. Example:

Next projects




virtual Dom
web, http, css
wasm, wasm-bindgen
JsValue, future, promises
Images included free cartoon characters:
Favicon from



Open-source and free as a beer

My open-source projects are free as a beer (MIT license).
I just love programming.
But I need also to drink. If you find my projects and tutorials helpful, please buy me a beer by donating to my PayPal.
You know the price of a beer in your local bar ;-)
So I can drink a free beer for your health :-)
Na zdravje! Alla salute! Prost! Nazdravlje! 🍻