Tic Tac Toe and Bagels

Andrei Marks · September 2, 2011

Finished going through inventwithpython’s tenth and eleventh chapters, which covered Tic Tac Toe and a number guessing game called bagels.

I think that bug testing must be a pretty crazy process, especially when the bugs don’t manifest unless you run the program a certain way. For an especially complicated program, how can you ever be totally sure that your code is solid? I’m sure there are tolerances, but it must be a pretty involved process.

I’ve also been looking up what to do next after I’ve finished this particular book. I’ll probably read another overview of Python, then start looking for problem sets that are available online. I’ve written down a bunch of my game ideas as well, so we’ll see if I can implement some of the simpler ones. There are also standard games recommended for cutting your teeth on game development, like tetris, knockout, etc. There’s also some math and physics that I’d like to catch up on!

Back to it, the next chapter is on Cartesian Coordinates!

New topics covered:  Game AI, algorithms, list references, dictionary references, short-circuit evaluation, the none value, hard-coding, iterator object, random.shuffle() function, augmented assignment operator, sort() list method, .join() string method, string interpolation, conversion specifiers.

Twitter, Facebook