fixed a bug in the action sorting. streamlined the game class code.