Rather than getting you to write all the code, I'm going to give it to you to get you started.
Download the following files into a directory you can find, and open the "game.py" in Spyder.
Before you run any code downloaded off the internet you should check at you can do one of at least two things:
Look at the code you've downloaded in Spyder - do you think it could do anything you wouldn't expect? Code to look out for is code that includes the following words:
write
: is it writing anything odd to your harddrive?read
: is it reading anything it shouldn't from your harddrive?exec
: is it trying to run anything on your machine?send
: is it trying to write something to the internet?recv
: is it trying to receive something from the internet?Can you see any of these words in the code you've downloaded?
[Home > Part 5 > Next]