Projects
Connect Four - Python
Create a fully playable Connect Four game through three hands-on coding assignments. Practice 2D lists, input validation, win detection, and game loops—all in Python. Perfect for intermediate students.
- Lanugage: Python
- Skill Level: Intermediate
- Estimated Time: 4-6 hours
Prerequisite Skills
- Basic Python syntax
- Using input() and print() for console interaction
- Functions with parameters and return values
- Loops and conditionals
- Working with 1D and 2D lists
Skills Learned
- Designing and manipulating 2D data
- Writing and testing modular functions
- Building a text-based game loop
- Error handling and input validation
Assignments
Get the Code
- Starter Code (for students)
- Completed Code (for teachers)
- View on GitHub
This work by Jon Cooper is licensed under CC BY-NC-SA 4.0