game working: checks errors, declares winner