Updated code so that it could choose between an online game and a local
two-player game in preparation for merging the online branch into the
master branch.