moved some responsibility from UI to Game