typo in package.json
updating state before game goes