Skip to content

jzfrank/memory-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Memory-game

Memory-game is a card game that tests memory.

This project is for Software Engineering at ETHz.

1. Compile instructions

1.1 Set up

To set up, we recommend using Ubuntu 20.4, which could be settled up using a virtual machine. Then you need to install clion and wxwidgets. Execute the following commands in a console:

  1. sudo apt-get update
  2. sudo apt-get install build-essential followed by sudo reboot
  3. if on virtual machine : install guest-additions (https://askubuntu.com/questions/22743/how-do-i-install-guest-additions-in-a-virtualbox-vm) and then sudo reboot
  4. sudo snap install clion --classic this installs the latest stable CLion version
  5. sudo apt-get install libwxgtk3.0-gtk3-dev this installs wxWidgets (GUI library used in this project)

Then you should be good to go: open this project in clion, build and run.

1.2 Compile Code

  1. Open Clion
  2. Click File > Open... and there select the /sockpp folder of this project
  3. Click Build > Build all in 'Debug'
  4. Wait until sockpp is compiled (from now on you never have to touch sockpp again ;))
  5. Click File > Open... select the /memory-game folder
  6. Click Build > Build all in 'Debug'
  7. Wait until Memory-server, Memory-client and Memory-tests (to be implemented) are compiled

2. Run the Game

  1. Open a console in the project folder, navigate into "cmake-build-debug" cd cmake-build-debug
  2. Run server ./Memory-server
  3. In new consoles run as many clients as you want players ./Memory-client

About

Card games that test memory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published