score calculation and some ability to update game state