April 2020 Student Challenge

Hi All,

I hope this email finds you and your families safe in these crazy times. If, like me, you are at home and looking for something to do and take your mind off things, then I have just what you need, a new student challenge.

This month's challenge requires you to create a text based adventure game. Text adventures are an excellent way to build your Python coding skills and experience. You also get to be a creative storyteller at the same time. To complete the challenge you must to the following:

  1. Come up with a brief story line involving a hero or heroine
  2. Have text based introduction to your story
  3. Create a set of functions that offer a player choices of how to proceed in the game

For example, you might have something like...

Do you approach the dangerous forest?

  1. Enter
  2. Go around

You step into the dark forest

Anything more specific than that I will leave up to you and your imagination. If you would like some help getting started I have uploaded my version of the challenge on my GitHub page. Take a look but be sure to use your own Python creativity.

If you want to be really creative you can expand on my simple code and add in more choices and add in variables for health, combat, strength etc. Your options are limitless.

The challenge will close on the 16th April and two winners will be chosen based on code creativity and game play. Each winner will receive a $50 Amazon gift card.

 

If you have any questions just ask. If you need any help with the coding then my Python 3: A Beginners Guide to Python Programming will be able to help you out. Just scan through the lessons until you find the one that helps solve your problem. If that fails, then a quick Google search will also do the trick.

Best of luck and have fun!

Tony.

Tony Staunton
Reading, writing and teaching.
Teacher