#100DaysOfCode in Python Transcripts
Chapter: Days 91-93: Database access with SQLAlchemy
Lecture: Demo: The final game
0:00 For the grand finale, let's just play one more game, full-screen, not stuck inside of PyCharm there. So we'll come over here, you can see
0:07 I have my virtual environment activated, so I'll say Python program, and in here, we're already reading from that database.
0:13 I've got Michael's wins once, Jennifer wins once, and computer. Now, if I say Michael, it's going to go and find that same player again,
0:19 and I'll just play some dragon, some dragon, a little bit of lightning. Am I doing, doing alright, I won that last round.
0:26 Let me try a little snake, and we'll finish it off with some fire, five to zero, amazing. Alright, now if I run it again,
0:32 you'll see, now I have two wins, Jennifer has one win, computer getting crushed this time. This is the game I built, and you can see
0:40 it wasn't totally easy to build up those relational classes and so on, but it really wasn't that hard.
0:46 And we built our little separate database service, our game service, code, so all of our data access is contained within just that little set of files.