Build Connect Four Using Python
Offered By: Codecademy
Course Description
Overview
Put your Python knowledge to the test by creating a fully interactive Connect Four game!
### What is a project-based course?
In this course, the project is front and center. You’ll start with the final product in mind and complete all the steps necessary to build it over three modules. You’ll build your project entirely on your own, with tips, lessons, and resources provided to help you along the way.
### What will you build?
Build a fully-functional game of Connect Four! By the end of this project, you will have built your own two-player game of Connect Four that will ask users for their input, verify that the input is valid, determine if somebody has won the game, and display the board.
### Take-away skills:
There are a number of concrete Python concepts that you'll need to master to complete this project. Lists, conditionals, functions, and the input() function are probably the most essential. But beyond learning how to use those specific Python skills, this project will help you think computationally and creatively. How should you structure your data to make your life easier when trying to determine a winner? What bits of logic will you use often enough to justify making them their own function? These are examples of some of the large-scale challenges you'll encounter during this project.
### Why learn Python?
Python is a general-purpose, versatile and popular programming language. It’s great as a first language because it is concise and easy to read, and it is also a good language to have in any programmer’s stack as it can be used for everything from web development to software development and data science applications.
### What is a project-based course?
In this course, the project is front and center. You’ll start with the final product in mind and complete all the steps necessary to build it over three modules. You’ll build your project entirely on your own, with tips, lessons, and resources provided to help you along the way.
### What will you build?
Build a fully-functional game of Connect Four! By the end of this project, you will have built your own two-player game of Connect Four that will ask users for their input, verify that the input is valid, determine if somebody has won the game, and display the board.
### Take-away skills:
There are a number of concrete Python concepts that you'll need to master to complete this project. Lists, conditionals, functions, and the input() function are probably the most essential. But beyond learning how to use those specific Python skills, this project will help you think computationally and creatively. How should you structure your data to make your life easier when trying to determine a winner? What bits of logic will you use often enough to justify making them their own function? These are examples of some of the large-scale challenges you'll encounter during this project.
### Why learn Python?
Python is a general-purpose, versatile and popular programming language. It’s great as a first language because it is concise and easy to read, and it is also a good language to have in any programmer’s stack as it can be used for everything from web development to software development and data science applications.
Syllabus
- Create Connect Four: Let's build a fully interactive Connect Four game using Python!
- Informational: Connect Four
- Project: Connect Four Part 1: Creating The Board
- Project: Connect Four Part 2: Interacting With The Board
- Project: Connect Four Part 3: Determining The Winner And Playing The Game
- Informational: Extending the Connect Four Project
Taught by
Alex DiStasi
Related Courses
Artificial Intelligence for RoboticsStanford University via Udacity Intro to Computer Science
University of Virginia via Udacity Design of Computer Programs
Stanford University via Udacity Web Development
Udacity Programming Languages
University of Virginia via Udacity