Add ability to join game

Also slightly changing the API for new-game to make game IDs and player
IDs more distinct.