[Python for Beginner Developers] Lists: 'append' and 'in'! Our adventure gets an inventory!

Channel:
Subscribers:
860
Published on ● Video Link: https://www.youtube.com/watch?v=S37Iz-USSF8



Duration: 2:43:58
22 views
3


In this episode, we look at what we accomplished in the first episode and explain our way around some new concepts: in particular, we look at some new data types that are used for 'grouping' data together.

Previously, we looked at numbers, strings, and booleans, the latter two of which we've used extensively in this project. Now, we're looking at 'tuples', 'lists', and 'dicts', but only lists really get exercised by the time the episode is complete. We use a list to represent the player's inventory, which will make it easier for us to add all kinds of new items to our game. That means that we have to change how some of our functions behave: in particular, how they know whether or not our character has a key, etc.

We also add a door to our game, to unlock and open, and a torch which has no use yet. Mostly, it's a lot of lecturing in this one! I feel like a textual adventure isn't the best avenue for talking about programming for total beginners -- not like Pokemon was. In the future, maybe we'll focus on more RPG-like stuff!

If you have any questions, feel free to ask me here, or on Discord, or on Twitter, or on Twitch, or wherever! Also, if you want to look at some beginner examples, including the code from today's episode, go check out http://github.com/vencabot/intro_to_python !

Keep the good times rolling at https://www.patreon.com/vencabot
Watch the show live at https://www.twitch.tv/vencabot
Hang with us on Discord using https://discordapp.com/invite/Y2tETWA
Keep up-to-date at https://twitter.com/vencabot




Other Videos By Vencabot


2018-12-21[3rd Strike] 07/31/18: Make some room - bignasty_3620 appears! Peak Steam lobby. T_T
2018-12-20[3rd Strike] 12/18/18: Jazzy Online Fundraiser Tournament #4! PSN is overly hype! T_T
2018-12-19[3rd Strike] 07/30/18: Jeefy Ryu gets Beefy, Shodokan's creates havoc, FT3: Cait vs Venca.
2018-12-18[3rd Strike] 07/26/18: HereGoes vs Venca! + Laggiest fight ever? + Audrey's Akuma assault
2018-12-17[3rd Strike] 07/25/18: Jeefy's Ryu arrives, Mutant's reppin' everyone, Synappse's Chun-li!
2018-12-16[3rd Strike] 07/18/18: khachik's Q unleashed, JEEEEEFY's Ryu, Preppin' for Defend the North
2018-12-15[Demon's Souls] Ep. 11: "These black phantoms don't give up! Dragon of Boletaria Boogaloo!"
2018-12-14[3rd Strike] 07/17/18: KD_Alpha swings by! Mutant, Shodokan, Stuffy, 1xide -- what a night!
2018-12-12[Bomberman 64] Ep. 1: "Bombs are his only window to the world... Nostalgia Boogaloo"
2018-12-11[3rd Strike] 07/17/18: JSlither vs Venca series, Mexi's godly Urien, moistracoon appears!
2018-12-10[Python for Beginner Developers] Lists: 'append' and 'in'! Our adventure gets an inventory!
2018-12-09[Demon's Souls] Ep. 10: "The 'Penetrator'...? Metas, Alfred, and Oolan Gangbang Boogaloo"
2018-12-08[3rd Strike] 07/16/18: Lobby of killers, Top tier vs bottom tier, Everybody shows up today!
2018-12-07[God of War (2005)] Ep. Bonus: "Salty Challenge of the Gods! $%^& this game, Boogaloo!"
2018-12-06[3rd Strike] 12/04/18: Jazzy Online Fundraiser Tournament #3 - Climax! 8 fighters remain!
2018-12-06[3rd Strike] 12/04/18: Jazzy Online Fundraiser Tournament #3! The battle for Top 8!
2018-12-05[Tails' Skypatrol] [Full Playthrough] Sonic's bizarre (and rock hard) 8-bit shmup! Cool game!
2018-12-04[3rd Strike] 07/12/18: AStuffyMuffin's Hugo! Kyo plays the cast! Battlin' Cruise in Ranked!
2018-12-02[Python for Beginner Developers] Adventure game code-along! Absolute basics of coding
2018-12-02[3rd Strike] 07/11/18: Mexi vs Shodokan123, Neiman's sizzlin' Akuma, Steam sucks
2018-11-30[Demon's Souls] Ep. 9: "Too Stupid to Beat Dragon God! Back to Boletarian Palace Boogaloo!"



Tags:
learning
intro to python
stream
lets
long play
educational
learning to program
let's play
long
game play
tutoring
vencabot
tutor
longplay
gameplay
coding
gaming
dev
commentary
twitch
letsplay
let's
program
programming
education
creative
engineering
development
game
intro
software
python
play
lets play