#100DaysOfCode in Python Transcripts
Chapter: Days 97-99: Building JSON APIs
Lecture: Your turn: Day 1

Login or purchase this course to watch this video and the rest of the course contents.
0:00 That was a big one, wasn't it? Quite a bit of stuff we covered there but I hope it was worth it. I hope you really feel like you have
0:07 this great, cool power. What I would like you to attempt with whatever time you have remaining for these 3 days,
0:14 make it as far as you can, if you don't get done like, no big deal. Try to create a game, kind of like we did, but do it remotely.
0:23 Set it up so you that you can play a game and people can have their high scores and a record of the game and a history and so on,
0:32 players that can come back and resume playing other games and so on. If they get some kind of ranking or something right, like experience or points.
0:41 One game I had in mind, it's really simple. Simpler than what we were doing by quite a bit that you could work on is the high,
0:48 low or guess that number game. Just goes like this, what's your name? Pick a number between 0 and 100. 50, too high. 30, too high. 10, too low.
0:56 15, too low. 19, boom, you win. Simple game and you don't even have to write it. The whole thing actually exists right here,
1:03 you can grab it but your goal is to move this logic and the persistence to the server. So hopefully this is a simpler version of what we talked about.
1:12 In addition to watching the videos today, if you have extra time, take this high, low game or some other game you want to do
1:19 and add database persistence to it. Feel free to borrow heavily from the code that we dropped in there as well on this one, right?
1:27 You've got to, remember you've got to create the sequel off of your base, you've got to define the classes,
1:32 you've got to create the factory, you can just copy that stuff over, change the names of the classes in the columns 'till it works for you.
1:38 Okay, so that should be pretty quick, if you rob the code from a previous day that you've already done.

Talk Python's Mastodon Michael Kennedy's Mastodon