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

Опубликовано: 05 Декабрь 2017
на канале: Keith Galli
152,626
1.2k

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:
   • How to Program Connect 4 in Python! (...  

Full Game Source Code:
https://github.com/KeithGalli/Connect...

INSTALLATION LINKS:

Link to setup Python 3 and Sublime text:
   • How to Setup Python 3 & Sublime Text  

Link to setup SublimeREPL:
https://packagecontrol.io/packages/Su...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

PYTHON TUTORIAL SERIES:

Why Learn Python? +Setup:    • Why Should you Learn Python? - Simple...  

1. Math & Variables:    • Math & Variables in Python - Beginner...  
2. Conditional Statements (if, elif, else):    • Conditional Statements (if, elif, els...  
3. Functions:    • Functions in Python - Beginner Python...  
4. Lists & Tuples:    • Lists & Tuples in Python - Beginner P...  
5. For Loops & While Loops:    • For Loops & While Loops in Python - B...  

Learn to Program a game:    • How to Program a Game! (in Python)  

-------------------------
Follow me on social media!
Instagram |   / keithgalli  
Twitter |   / keithgalli  

-------------------------
If you are curious to learn how I make my tutorials, check out this video:    • How to Make a High Quality Tutorial V...  

Learn data skills with hands-on exercises & tutorials at Datacamp!
https://datacamp.pxf.io/c/3588040/101...

*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.