converted Game class to db/ui