Fixed compiler warnings.
Fixed compiler warnings, renamed playerID to player_id (to follow
our style guide).