working on the parsing and game simulation