Repo for the 3110 final project
Group: Sunny Chavan, Corban Chiu, Connor McCarthy
S: Board definition (factored out into JSON) G: GUI that displays the above E: Dice rolls, money, movement
S: Buying properties (auctions), collecting rent, mortgaging, jail G: Community Chest and Chance (factored into JSON), build houses and hotels, free parking E: Multiplayer playable
S: Multi-person playable, trading properties G: Game menu, win condition E: Bot with different difficulty levels
- Upon running
make test
, a file/_coverage/index.html
is created. Opening this file will show the disect code coverage of the test file.
Mac OS: sudo port install pkgconfig
Windows:
- apt install pkg-config (dependency for graphics installation)
- Install Xming and have it running in background
Graphics Package: opam install graphics
export DISPLAY="$(grep nameserver /etc/resolv.conf | sed 's/nameserver //'):0"
- Launch Xming THROUGH xLaunch
- on the third window check "no Access Control"
- run Special Command above
- Run
make debug
to compile the code for debugging - Run
ocamldebug main.byte
to enter the debugger. r
runs,b
backsteps,bt
produces a backtrack, more info found here (https://ocaml.org/learn/tutorials/debug.html)