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

Posted by PyBites on Mon 27 March 2017 in Challenges • Tagged with codechallenges, learning, game, tictactoe, AI • 2 min read

Hi Pythonistas, a new week, a new 'bite' of Python coding! After last week's conceptual challenge (generators), we'd like to challenge you this week to build Tic-tac-toe. Every time we do games (previously Word Values and Hangman) we learn a lot. Enjoy and we review solutions end of this week.


Continue reading

Code Challenge 10 - Build a Hangman Game - Review

Posted by PyBites on Sat 18 March 2017 in Challenges • Tagged with codechallenges, code review, learning, game, hangman, forks, dunder • 2 min read

It's end of the week again so we review the code challenge of this week. It's never late to sign up, just fork our challenges repo and start coding.


Continue reading

Code Challenge 10 - Build a Hangman Game

Posted by PyBites on Mon 13 March 2017 in Challenges • Tagged with codechallenges, learning, game, hangman, movies, github • 2 min read

A new week, a new 'bite' of Python coding! This week we will build a Hangman game. Good luck and have fun.


Continue reading

Code Challenge 02 - Word Values Part II - Review

Posted by PyBites on Fri 20 January 2017 in Challenges • Tagged with codechallenges, code review, github, learning, game, scrabble, itertools • 3 min read

It's Friday again so we review the code challenge of this week. It's never late to sign up, just fork our challenges repo and start coding.


Continue reading

Code Challenge 02 - Word Values Part II - a simple game

Posted by PyBites on Mon 16 January 2017 in Challenges • Tagged with scrabble, codechallenges, github, fork, learning, game, itertools, random, sets • 3 min read

Using what we've learned the last challenge this week we build a simple Scrabble-like game: given a random set of 7 letters build the most valuable word. Good luck!


Continue reading

5 cool things you can do with itertools

Posted by Bob on Thu 12 January 2017 in Modules • Tagged with iterators, itertools, tricks, generators, game, notebooks, permutations • 2 min read

Itertools is a very useful module. In this short post I show some 5 examples how you can use it. Some of this stuff might be useful in next week's challenge ...


Continue reading