Code Challenge 12 - Build a Tic-tac-toe Game - Review

PyBites, Sat 01 April 2017, Challenges

AI, codechallenges, game, learning, tictactoe

It's end of the week again so we review the code challenge of this week: Build a Tic-tac-toe Game. It's never late to join, just fork us and start coding.

Our solution and learning

You can find our solution here. This was great learning! Here are some highlights:

Again our full solution is here. Let us know if you have any questions or if you spot anything we could have done better.


Here are some other ways to do it: from our community branch (remember you can submit code by PR!) and via reddit comment). Reading other solutions to the same problem (as well as coding styles) is a great way to learn.

Stay tuned

Next week you will train your data analysis skills by parsing a movie data set. It will be fun :)

We hope you are enjoying these challenges, learning along the way. Let us know if you have any issue and/or contact us if you want to submit a cool challenge. See you next week ...

PyBites Python Tips

Do you want to get 250+ concise and applicable Python tips in an ebook that will cost you less than 10 bucks (future updates included), check it out here.

Get our Python Tips Book

"The discussions are succinct yet thorough enough to give you a solid grasp of the particular problem. I just wish I would have had this book when I started learning Python." - Daniel H

"Bob and Julian are the masters at aggregating these small snippets of code that can really make certain aspects of coding easier." - Jesse B

"This is now my favourite first Python go-to reference." - Anthony L

"Do you ever go on one of those cooking websites for a recipe and have to scroll for what feels like an eternity to get to the ingredients and the 4 steps the recipe actually takes? This is the opposite of that." - Sergio S

Get the book