improved batterPos computation and added updateGame()