Closed ace-n closed 11 years ago
IDs in a two player game with five boats actually range from 0-9. Not sure if you are doing this but careful not to hard code the IDs or associate a particular ship type with a specific ID in your client. They could be different for each game.
According to the design document, ship IDs were supposed to be from 1 through 5. According to the code, they are from 0 to 4 (at least for setTurn statements). The design document was updated to reflect the code.