Skip to content

[GAME SUGGESTION] : Connect 4 #104

@DesportesEliot

Description

@DesportesEliot

Description

Hello! I would love to propose adding a classic Connect 4 game to this repository, implemented in Python.

How it would work

  • Language: Python 3.
  • Grid: A standard 6x7 layout in the terminal.
  • Controls: Numbers 1-7 to select the column where you want to drop your piece.
  • Gameplay: Classic Connect 4 rules (two players alternating turns, the first to align 4 of their tokens horizontally, vertically, or diagonally wins). Includes a basic local AI/computer opponent or two-player local mode.

Visual Mockup

+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+
|   |   |   | O |   |   |   |
+---+---+---+---+---+---+---+
|   |   | X | O |   |   |   |
+---+---+---+---+---+---+---+
|   | X | O | X |   |   |   |
+---+---+---+---+---+---+---+
| X | O | X | O |   |   |   |
+---+---+---+---+---+---+---+
  1   2   3   4   5   6   7  

Player 1 (X) turn. Choose a column (1-7): _

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions