finish basic functionality of game