An open API service indexing awesome lists of open source software.

https://github.com/idanhoro/4-in-a-row

The board game 4 in a row with PyGame
https://github.com/idanhoro/4-in-a-row

4inarow game numpy pygame python

Last synced: 3 months ago
JSON representation

The board game 4 in a row with PyGame

Awesome Lists containing this project

README

          

# 4-in-a-row
------------
The board game 4 in a row written with PyGame

## Game Description

4-in-a-row is a two-player connection board game. Each player is represented by colored then take turns dropping discs into a seven-column, six-row board.

The discs fall straight down, occupying the lowest available space within the column.

The objective of the game is to be the first to form a horizontal, vertical, or diagonal line of four of one's own discs.

## Images
![4_in_a_row](https://user-images.githubusercontent.com/65775948/126156840-a4173568-7402-4d89-9ee7-dc3fea13b23c.gif)

## Dependencies
The project was written with **Python 3.9**.

**Packages used:**
- NumPy
- PyGame

## Running instructions
`pip install -r requirements.txt`