Create State class and make Game api more ruby