Welcome to Remory, a simple console game based on this memory game.
The goal of this project is to introduce complete beginners to the fun of writing a Ruby program in small, reasonable steps.
The presentation for this project can be found here: presentation
The code in this project are organized into a series of numbered files:
1.rb
: the beginning of a game, we can play 1 round2.rb
: we use a loop to play more than 1 round2b.rb
: we fix 2 bugs related to our input3.rb
: a message is displayed when we pick 2 cards4.rb
: message changes depending on whether or not the cards match5.rb
: cards are cleared if they match and reset if they don't5b.rb
: we fix another bug related to our input5r.rb
: refactor some verbose code into something more elegant6.rb
: finally, the game ends!7.rb
: we track how many attempts it took to complete the game