implemented basic functionality for selecting an opponent and starting a game