Sep-29-2017, 01:03 AM
The indentation you posted is off. Make sure all the elifs and the else line up with the original if. Also, your parentheses are wrong for the raw_input. The
Note that even with the variable problem that sparkz pointed out, you are not checking all the possibilities. There are six ways for a win to happen, and you only test for five. Also, you are assuming that if there's no win, someone entered and invalid play. You need to check to see if there was a tie before you do that.
% player1
should be inside the parentheses for the raw_input.Note that even with the variable problem that sparkz pointed out, you are not checking all the possibilities. There are six ways for a win to happen, and you only test for five. Also, you are assuming that if there's no win, someone entered and invalid play. You need to check to see if there was a tie before you do that.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures