A Text adventure Part 2
Today we are going to create a character sheet for our Fantasy Turtle Text Adventure
Tick each task when you have successfully done it in the following list:
Objective: Use Turtle graphics to draw a bordered layout and a character portrait placeholder.
Instructions:
Guidance:
penup()
pendown()
goto()
forward()
right()
Expected Output: A screen with a bordered layout and a smaller rectangle labeled “Portrait”.
Try and recreate this basic Character Sheet if you can't do it on your own yet the code for it is below the picture
Objective: Add static text to display the Sheet Title and the character's race and class within the layout.
write()
Try and recreate this additional Character Sheet information if you can't do it on your own yet the code for it is below the picture
Here is the additional code you might need, you can use the line numbers to help you add this code in the correct place in your file
Objective: Use the random library to create randomized stats for the character and display them on the sheet.
random
random.randint(8, 18)
Expected Output: A complete character sheet with the border, portrait, character info, and randomized stats.
Next lesson we will be creating an image and adding it to our character sheet as well as making the whole thing more colourful and interesting.
Lets look at the learning outcomes and decide which one best describes our current level of understanding :
Tick the one you feel is closest to your level