Some logic in classes have hardcoded the position of jail as -1 as a placeholder for when the board gets implemented to get the actual jail location. The position of jail as -1 will need to be changed to the actual location of jail by calling the board (preferably through a board getter in player class as a lot of the classes don't have a board as an argument and adding it would be very complicated).
Some logic in classes have hardcoded the position of jail as -1 as a placeholder for when the board gets implemented to get the actual jail location. The position of jail as -1 will need to be changed to the actual location of jail by calling the board (preferably through a board getter in player class as a lot of the classes don't have a board as an argument and adding it would be very complicated).