Cambridge University Press
Welcome to Black Flag: A Coding Club Mission
In Marshall Trent’s Reunited Kingdom every citizen of New Edgehill has a neurochip implanted within them that links directly to the Neuralnet.
The Neuralnet sees and records every thought, movement and microscopic detail of every life in New Edgehill. Absolute control!
Cal Jones believes he is no different from everyone else. That is until he saves the life of Sasha and learns that everything that he thought was true is in fact a lie. He discovers an underground group, the Anarchists, living outside of the Neuralnet and harbouring a secret which will change his life forever.
Read the Book
Matt Langley has written a fantastic, imaginative and exciting novel for the Coding Club series. You can even read the first Chapter now: http://codingclub.co.uk/uploaded_pdfs/BlackFlag_sample.pdf
More info at http://codingclub.co.uk/black_flag.phpJoin Danni as you train as an Anarchist
This is a Coding Club mission. This means that you can get far more involved in this book than any other you have read before – should you wish to. To register for free, all you need to do is enter an activation code and fill in a short form. Unfortunately we cannot just leave activation codes in plain view. You will have to visit the Black Flag website and think like a true hacker – ignore the visuals and dig into the code!
I will guide you throughout your training as an Anarchist agent. You will solve many of the assignments that Cal, Sasha and I face in our struggle. Do not worry if you are still a novice programmer, there is lots of guidance and hints along the way.
All the preparation that is necessary is that you have worked through Coding Club: Python Basics. Alternatively you should be fine if you have learnt a little Python 3 some other way. You simply need to have a grasp of how to write variables and functions, perform simple maths operations and manipulate strings. You should also know how to save and load files in IDLE.
It is not going to be easy, but trying to save the World never is!
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 1Ch.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 2Ch.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.
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.
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.
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.
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.
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.
- 1