10 Making some games
This chapter covers
- Adding randomness to our programs
- Designing and programming a code-breaking logic game
- Designing and programming a press-your-luck dice game
People learn to program for many reasons. Some people want to automate tedious tasks as we did in the previous chapter. Some people want to work with artificial intelligence (AI; you’ll get a taste of that in chapter 11). Other people want to make interactive websites, Android or iOS apps, or Alexa skills. There’s an endless amount of stuff that programmers can make.
Another popular reason to learn programming is to create games. For that reason, we thought we’d continue our Copilot programming journey with you by designing two small computer games. The first ...
Get Learn AI-Assisted Python Programming, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.