added Tie Game function prototype