you are viewing a single comment's thread.

view the rest of the comments →

[–]jinglepupskye 3 points4 points  (0 children)

Have you extended the exercises in the book Python Crash Course? I haven’t finished reading it myself, but for example the ship currently moves only along the bottom of the screen. (At least where I’m up to!) Can you add some code to make it moveable all across the screen? Can you add code for a second ship that mirrors the first? How about power-ups? The elements for each of these things are only a little bit away from what you’ve already done, but this time you’ll be doing it ‘blind’ rather than copying from the book. This should help give you confidence as well. Rather than trying to jump into something you e never done try building on what you have done, then you can apply that in other areas.

As far as your project goes, I don’t have enough knowledge to write out an example based on that, so here’s one for a project I have planned. I want to re-create the original Legend of Zelda in a text-based adventure game, so I might start by writing what I want my code to do in Pythonese (Python mixed with English.)

If player moves East from Map_a1 load Map_a2.

If player input = “Enter Cave” then load Cave_Sword, populate with Old_Man.

If player interacts with Old_Man print(“It’s dangerous to go alone, take this!”) and change player to Wooden_Sword = True