#100DaysOfCode in Python Transcripts
Chapter: Days 13-15: Text-based games (and classes)
Lecture: Your turn: Day 3
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
Alright third day, if you're not done with the first two days, just finish that up. Just get your standard 3-way Rock, Paper, Scissors working.
0:08
However, if you feel like you want to like, take this to the next level and you got done really quickly, if you've got some extra time left over,
0:14
try this 15-way Rock, Paper, Scissors. This diagram is actually really hard to understand, so I put together a battle CSV here
0:24
that tells you if the attacker is a gun and the attacker attacks a dragon, will a gun defeat a dragon?
0:30
Or does the dragon, over here dragon defeat a gun, note the dragon loses to the gun, but the gun defeats the dragon. So you can think of this like,
0:39
sort of halfway redundant. You really only need half this table, but having that table is super helpful. And here's a little bit of code,
0:47
we haven't gotten to CSVs yet, but here's a little bit of code that will read that in and you can use it to sort of parse that and probably build from.
0:55
Okay, so if you're feeling super adventurous and you've got extra time, work on this Rock, Paper, Scissors 15-way,
1:02
otherwise just build standard 3-way rock-paper-scissor and hope you have a lot of fun modeling these little games with classes.