Browser based online multiplayer monopoly game written in C++ (backend) and Typescript (frontend).
- Step into the frontend folder.
- Run npm install to install the dependencies.
- Install grunt with the npm install –g grunt-cli command.
- Build the frontend with the grunt build command.
- Install dependencies: vcpkg install libevent:x64-windows-static curl:x64-windows
Note: libcurl can be ommitted when not using emails.
- Update .h/.lib/.dll files at x64-win-dep with the previously installed ones (should be at vcpkg root dir/installed/x64-windows-static or x64-windows).
- Open the Visual Studio solution at backend/Monopoly.sln
- Set the solution configuration to Release and the solution platform to x64.
- Under Build menu, click Build Solution.
- Step into the backend folder.
- Install cmake: apt install cmake
- Install libevent: apt install libevent-dev
- Add FindLibEvent.cmake if missing (also check cmake version and update "cmake-2.8" dir accordingly): cp build_scripts/FindLibEvent.cmake /usr/share/cmake-2.8/Modules/FindLibEvent.cmake
- Copy the CMakeLists file to the project root directory: cp build_scripts/LinuxCMakeLists.txt CMakeLists.txt
- Generate makefile: cmake . -DCMAKE_CXX_COMPILER=/usr/bin/g++
- Build: make
- Install cmake: apt install cmake
- Clone repository: git clone https://github.com/szedenik-adam/monopoly
- Step into the repo's backend directory cd monopoly/backend
- Download OpenWRT SDK: wget https://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7620n/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2
- Extract the archive: tar -xf OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2
- Copy the CMakeLists file to the project root directory: cp build_scripts/RouterStaticCMakeLists.txt CMakeLists.txt
- Set staging dir for the compiler: export STAGING_DIR=OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir
- Generate makefile: cmake .
- Build: make
Márton Bálint - frontend
Ádám Szedenik - backend