game: Define max number of players as GAME_MAX_PLAYER_COUNT

Fix #111: Off-by-one error in calculating knight morale
flag: Fix bug caused by missing check in flag_prioritize_pickup()