secvar

Setting Up

• The first 4 lines will import modules that we can use for our code (e.g. random can generate random numbers)

• We also define how large our website should be, and where it should be positioned on the screen

• There are also a bunch of words that are defined which will be used in game, you can add more.

• This code also contains "states" these will be the variables that keep track of the game

• Finally, we define a function which resets the game. This will basically set all of the states back to default, so that the game can start fresh

FYI: When running, the website will not work, you must have all the code written down from this website for it to work.