Skip to content

Build a Connect Four Game using only python - Terminal Game - Portfolio Project for CodeCademy_CS101

Notifications You must be signed in to change notification settings

Medo-ID/Connect_Four_Game-Terminal_Version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Connect Four Game - Terminal Version

Welcome to the Connect Four Game! This is a terminal-based version of the classic Connect Four game.

Table of Contents

Introduction

Connect Four is a two-player connection game in which the players take turns dropping colored discs from the top into a vertically suspended grid. The objective is to be the first to form a horizontal, vertical, or diagonal line of four discs.

This repository contains a terminal-based version of the Connect Four game written in Python.

Features

  • Two-player gameplay
  • Interactive terminal interface
  • Real-time win detection
  • Simple and clean code structure

Installation

To get a copy of this game up and running on your local machine, follow these steps:

  1. Clone the repository:
    git clone https://github.com/Medo-ID/Connect_Four_Game-Terminal_Version.git
  2. Navigate to the project directory:
    cd Connect_Four_Game-Terminal_Version

Usage

To play the game, you can either install the required package or use the source files directly:

  1. Install the PyPI package:

    pip install keyboard
  2. Or clone the repository (no installation required, source files are sufficient):

    git clone https://github.com/boppreh/keyboard
  3. Or download and extract the zip into your project folder.

Then check the API docs below to see what features are available.

To start the game, run the following command in your terminal:

python connect_four.py

About

Build a Connect Four Game using only python - Terminal Game - Portfolio Project for CodeCademy_CS101

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages