Cambridge University Press - Python: Interactive Adventures supplement 2

R149.90  Inc VAT
Description:

This is the Python: Interactive Adventures home page. Answers and full source code are found in the resources page.

Python: Interactive Adventures is the latest book to be added to the series and provides more material at level 2 for programmers at this level. It is written as an alternative and extension to Python: Next Steps. The material introduced at this level is very powerful and enables young programmers to produce a whole variety of exciting Apps but many students will want to consolidate by studying both level 2 books before moving on. While both books introduce tuples, lists and dictionaries Next Steps also delves into building and designing sophisticated GUIs. Interactive Adventures, on the other hand, explores how to go about breaking longer programs into manageable tasks which are easier to approach or share among a group of friends.

In the first part of this book you write a card trick script, create a small e-book reader and an app to help you encrypt and and decode messages. The big project involves building an interactive story based app that you can then customise with your own images, story and puzzles. The bonus app provides a short interactive mystery story, with a heap of special effects you can explore and add to your own apps.

Chapter 1

Ch.1 - Data types
In this Chapter you will:

   >>> learn about data types
   >>> learn about tuples, lists and dictionaries
   >>> make a 'magic' card trick app
.

PythonInteractiveAdventures-Ch1.pdf

Chapter 2

Ch.2 - The Caesar machine
In this Chapter you will learn how to:

   >>> do modulus addition
   >>> manipulate strings
   >>> use for loops
   >>> develop a simple algorithm
   >>> turn an algorithm into Python code.

Chapter 3

Ch.3 - A simple ebook reader
In this Chapter you are going to:

   >>> learn more about loops
   >>> learn more about tkinter widgets
   >>> learn how to import text files into your applications
   >>> build a simple GUI to control your ebook reader.

Chapter 4

Ch.4 - An old-school adventure
In this Chapter you are going to:

   >>> make your own infinite loop
   >>> learn more about dictionaries, lists and tuples
   >>> create a simple map for an adventure story
   >>> learn how to make a simple text-based menu.

Chapter 5

Ch.5 - Writing a story
In this Chapter you are going to:

   >>> learn even more about dictionaries, lists and tuples
   >>> consider how to program an interactive adventure
   >>> add a story to your game
   >>> create a map for an adventure story.

Chapter 6

Ch.6 - An adventure game console
In this Chapter you are going to:

   >>> build a GUI for your game
   >>> learn more about arranging tkinter widgets in frames.

Chapter 7

Ch 7 - A mysterious mystery
In this Chapter you are going to:

   >>> add the story to the GUI
   >>> think about how to divide up tasks.


  • Availability: 1 In Stock
  • Model: book Python Interactive Adventures
  • Brand: Cambridge University Press