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

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