Python Tutorial (13) Tic Tac Toe Game (Part 1)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
7,128
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 27, 2010

We use what we know so far to create a Tic Tac Toe Game! It's good to make little projects and games to learn the language better, so this is our exercise to practice what we know!

http://jream.com

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (JREAMdesign)

  • Hey it is giving me problems with raw_input... what am i supposed to do to fix this

  • @SirHvide What is it telling you is the problem?

  • Im doing exactly what you are doing but on a mac in "text wrangler" but it wont work! any ideas?

  • @TheAnimateor You have to be 100% sure you have your tabs right.. Tabs MIGHT have to be spaces, Im not certain though

see all

All Comments (15)

Sign In or Sign Up now to post a comment!
  • should set your while finding loop to true then put a break in the "if board[opponant] valid" statement. one less variable necessary and one less line of code

  • @SirHvide python 3.0 uses input () rather than raw_input()

  • @SirHvide If you were using python 3 instead of 2.7 then you have to use input("enter the input:") instead of raw_input("enter the input")

  • for some reason everything i do gives me an error :(

  • hey, for some reason when i write show() or board it gives me an error.. please get back to me??

  • @XZ19126 yes, but you need to change some syntax, for example input must be raw_input

  • but in 2.7 i use raw_input

  • will this work in python 2.7?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more