Create a Robo-Trumps card game to play with a friend. Learn how to read data from a file to create a dictionary of Robo-Trumps statistics; use turtle graphics and import images to display Robo-Trumps cards; and use the random choice function to turn your cards into a game.
A Robo-Trumps game to play with a friend.
Reading from a file
Data structures and dictionaries
Using images in turtle graphics
Sharing trinket projects
A computer or tablet capable of accessing the internet.
Use this link to go to the Code Club online project: projects.raspberrypi.org/en/projects/robo-trumps and follow each step in the project.
Challenge 1: Add more robots - edit a .txt file.
Challenge 2: Add more stats to the robots - handle and add new data.
Challenge 3: Display a random robot - use the random choice function.
Challenge 4: Play Robotrumps with a friend - share you project.