Working game; still have problem when tie occurs