Classic Board Game with jQuery

Classic Board Game with jQuery

jQuery is enough to get simple board games with few code lines.
Memorize is one of the simplest games of this genre.
Combine them and obtain your first JavaScript game in few minutes.

Javier Beaumont

Social Point

Social Point

jQuery: Advantages and Disadvantages

Memorize: Definition and Screenshot

Show any compact set of unordered pairs of cards.
The cards will be hidden and shown when the player interacts with them.
Every pair of cards clicked will be checked for equality, in which case they will remain permanently visible. If they are different, they will hide again.

Memorize Screenshot

Memorize: Parts

Board

Compact and rectangular area where the playing cards are grouped

Memorize: Parts

Playing Cards: Selection

Select playing cards between available ones and, if possible, without repeating.

Playing Cards: Shuffling the deck

Shuffle the deck to unsort the playing cards.

Memorize: Parts

Print Elements: Basic HTML

Print Elements: Basic CSS

Print Elements: Board and Playing Cards

DOM and Style manipulation

Memorize: Parts

Player Interaction: Selection

Player Interaction: Comparation

Player Interaction: Slide Effect

Memorize

Classic Board Game with jQuery

Code: https://github.com/javierbeaumont/memo.js
Slides: https://javier.beaumont.eus/slides/memo.js/
Live Demo: https://javier.beaumont.eus/slides/memo.js/demo

Javier Beaumont

Social Point

Social Point

/

#