basic game play functionality implemented