work in progress renderGame.