Memory-game is a card game that tests memory.
This project is for Software Engineering at ETHz.
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:
sudo apt-get update
sudo apt-get install build-essential
followed bysudo reboot
- 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
sudo snap install clion --classic
this installs the latest stable CLion versionsudo 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.
- Open Clion
- Click
File > Open...
and there select the /sockpp folder of this project - Click
Build > Build all in 'Debug'
- Wait until sockpp is compiled (from now on you never have to touch sockpp again ;))
- Click
File > Open...
select the /memory-game folder - Click
Build > Build all in 'Debug'
- Wait until Memory-server, Memory-client and Memory-tests (to be implemented) are compiled
- Open a console in the project folder, navigate into "cmake-build-debug"
cd cmake-build-debug
- Run server
./Memory-server
- In new consoles run as many clients as you want players
./Memory-client