dyllandry / ladders-and-slides

Everyone's favourite boardgame, ladders and slides! 🪜
0 stars 0 forks source link

add debug messages throughout game #4

Closed dyllandry closed 1 year ago

dyllandry commented 1 year ago

For example:

Pawn moved from tile # to #.

Check if it's possible to display these with debug builds of the game and when cargo run is used.

Otherwise can add a environment variable.

dyllandry commented 1 year ago

https://stackoverflow.com/questions/39204908/how-to-check-release-debug-builds-using-cfg-in-rust