Back to Browse

How to Program Connect 4 in Python! (part 1) - Basic Structure & Game Loop

166.1K views
Dec 6, 2017
18:15

This is the first part of a few part series on how to program connect 4 in python 3 and pygame. In this video I show you how to store the board state, and build a simple command line interface for dropping pieces. The next video will show you how to write a function to check for wins. Then after that the final video will build graphics for your game. Part 2: https://www.youtube.com/watch?v=zD-Xuu_Jpe4&t=325s Full Game Source Code: https://github.com/KeithGalli/Connect4-Python INSTALLATION LINKS: Link to setup Python 3 and Sublime text: https://www.youtube.com/watch?v=2nQNsrhaMpA Link to setup SublimeREPL: https://packagecontrol.io/packages/SublimeREPL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PYTHON TUTORIAL SERIES: Why Learn Python? +Setup: https://youtu.be/RJL6Y761TNE 1. Math & Variables: https://youtu.be/XM0CtrJYM2A 2. Conditional Statements (if, elif, else): https://youtu.be/vsVGPcfxEiA 3. Functions: https://youtu.be/5U95tRdYySA 4. Lists & Tuples: https://youtu.be/_zFI6ytHHdY 5. For Loops & While Loops: https://youtu.be/WPF5M_Ic6Fc Learn to Program a game: https://youtu.be/-8n91btt5d8 ------------------------- Follow me on social media! Instagram | https://www.instagram.com/keithgalli/ Twitter | https://twitter.com/keithgalli ------------------------- If you are curious to learn how I make my tutorials, check out this video: https://youtu.be/LEO4igyXbLs Learn data skills with hands-on exercises & tutorials at Datacamp! https://datacamp.pxf.io/c/3588040/1012793/13294 *I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.

Download

1 formats

Video Formats

360pmp422.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How to Program Connect 4 in Python! (part 1) - Basic Structure & Game Loop | NatokHD