[Intro to Python as a First Language] Pokemon example, the very basics. Code along! :D VIDEO
In this episode, we're once again reviewing the total, fundamental basics of programming for complete beginners: variables, simple built-in functions, and logical program flow using if, else, and looping with 'while'. Without even going into function definitions and classes, we get a simple RPG working that approximates the battle system of Pokemon: turn-based combat using 4 moves that have limited PP -- and we even implement some status changes by way of 'growl' and 'tail whip'.
This code isn't meant to be an exact clone of Pokemon, of course, but it is a VERY simple way to make a fun little RPG using only the most basic tools in a programmer's toolkit. In the future, we're going to use this same project to learn about more advanced concepts, like function definitions and object-oriented programming.
If you want to look at the completed code, we have commentated and condensed versions uploaded to the github page:
Commentated: https://github.com/vencabot/intro_to_python/blob/master/total_beginner_projects/pokemon_day_1_no_def_or_classes_commented.py
Condensed: https://github.com/vencabot/intro_to_python/blob/master/total_beginner_projects/pokemon_day_1_no_def_or_classes_condensed.py
If you have questions, ask here in the comments or hang out with us over on the Discord server. Invite available at http://vencabot.com .
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-10-25 [Demon's Souls] Ep. 4: "Look at this $%^&ing SWORD!! Stonefang Tunnel Boogaloo!" 2018-10-24 [3rd Strike] 06/26/18: All Ranked, all episode! PinkGiSeanIsTopTier! 2018-10-23 [Intro to Python as a First Language] Functions, 'for', lists, & libraries; Pokemon gets AI! 2018-10-21 [3rd Strike] 06/25/18: Threevenge training, Pyteria cracking heads, styx_diver's Ibuki! 2018-10-20 [God of War (2005)] Ep. 8: "Narrow Beam Balancing, Nearing Maximum Rage Boogaloo" 2018-10-19 [3rd Strike] 06/21/18: Defensive Alex & KreichJr's sickening Ken. Awaken, Crime's Q! 2018-10-18 [Sonic Spinball (GG)] G-$%^&ing-G! Legends never die... They go 8-bit! 2018-10-17 [3rd Strike] 06/20/18: FT10: Venca / bm717252, Threevenge growin' skills, G-Type switches! 2018-10-16 [Demon's Souls] Ep. 3: "This Dragon is 100% a Dick, Tower Knight Boogaloo!" 2018-10-15 [3rd Strike] 06/20/18: bm717252 and Rock_mty: Two Dudleys clash! Ibumizu's Urien 2018-10-14 [Intro to Python as a First Language] Pokemon example, the very basics. Code along! :D 2018-10-13 [3rd Strike] 06/19/18: FT10: Venca / Rock_mty! DiddlyBukes, ggwprekt143, osirus bring it! 2018-10-12 [Pizza & Cartoons] Ep. 2: Betty Boop is problematic. It's like that, Pudgy-Pudge? 2018-10-11 [3rd Strike] 06/19/18: Threevenge learning Ken, Nydus joins training, Venca tutoring 2018-10-10 [God of War (2005)] Ep. 7: "Pandora's Temple, Ten-Outta-Ten Boogaloo!" 2018-10-09 [3rd Strike] 06/18/18: Threevenge friendly sparring, FT5: bm717253 / Venca! 2018-10-07 [Intro to Python as a First Language] From scratch! The basics: variables, logic, functions 2018-10-07 [3rd Strike] 06/14/18: Mexi's Necro DAYUM, FT5: Mexi / Venca, FT3: bm717252 / Mexi 2018-10-06 [Demon's Souls] Ep. 2: "Phalanx Rolls Deep! Monumental Rant Boogaloo" 2018-10-05 [3rd Strike] 06/13/18: Rage's sassy Chun, Neiman's Ken too stronk! T_T 2018-10-04 [Sonic Spinball] NOTHING BUT DARKNESS, Ep. 2: It's over!! It's all over!! We did it! T_T
Tags: let's play
game play
development
long
longplay
program
programming
education
lets play
creative
learning
dev
engineering
educational
stream
twitch
vencabot
commentary
python
long play
coding
play
intro
game
learning to program
gameplay
gaming
tutor
tutoring
software
intro to python
lets
let's
letsplay