Fixed gamecore, added stdin tester