refactored game using state pattern. added roles for players