Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.14 KB

README.md

File metadata and controls

26 lines (20 loc) · 1.14 KB

Memory Game

OpenGL GUI implementation of the popular children's card flip memory game.

To play, a set of 16 cards containing pairs of matching objects are shuffled and placed in a 4 × 4 grid, face down. In this solitaire version, a player can turn over any two cards and, if they match, remove them from the board. Otherwise, the two cards are turned over, and the player gets to turn over two more cards. The objective is to remove all of the cards in as least turns as possible.

Features

  • Card flip animations
  • Turn count tracker
  • Randomly generated colors & card placements

Installation

To run this application, I used FreeGlut with Code::Blocks. Below are the steps to my setup.

  1. Clone the repository:

    git clone https://github.com/mctripp10/memory-game.git
    
  2. Download Code::Blocks

  3. Download FreeGlut for MinGW

  4. Follow the steps under "Installation" here to finish project setup and link everything properly