Skip to content

KZdesigns/memory_puzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

memory_puzzle

This is Ruby implementation of the a classic memory puzzle game. In this game players will be able to choose one "card" at a time to flip, each round the player can flip two cards. In any given round if the two cards that are flipped match the pair will remained flipped on the board. The goal of this game is to match all the cards on the board.

Learning Goals

  • Understand how classes interact in an object-oriented program
  • Be able to use require_relative
  • Be able to write the methods [] and []= and explain how they work
  • Develop a workflow that uses pry to test small parts of your code
  • Know how to initialize an Array with a default value
  • Know how to use duck typing to allow different classes to interact with your program

About

Ruby implementation of Memory puzzle game!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages