Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/julius-boettger/connect-four-c
Connect Four for the command line written in C
https://github.com/julius-boettger/connect-four-c
c connect-four practice-project
Last synced: 5 days ago
JSON representation
Connect Four for the command line written in C
- Host: GitHub
- URL: https://github.com/julius-boettger/connect-four-c
- Owner: julius-boettger
- License: gpl-3.0
- Created: 2024-03-07T07:02:37.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-12T07:47:39.000Z (8 months ago)
- Last Synced: 2024-03-12T08:50:22.176Z (8 months ago)
- Topics: c, connect-four, practice-project
- Language: C
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Connect Four
```
🔴🔴🔴🟡🔴
🔴🔴🟡🔴🔴
🔴🟡🔴🔴🔴
🟡🔴🔴🔴🔴
```### Note for the Windows Users
**If stuff looks weird, it's probably because of your terminal.**
The default ones on Windows can be pretty bad, try using **[Windows Terminal](https://apps.microsoft.com/detail/9n0dx20hk701?rtc=1&hl=de-de&gl=DE)** instead (if you aren't already).# Installation
### From Release
Just grab a [release](https://github.com/julius-boettger/connect-four-c/releases) :)
### From Source
Requirements:
- [`git`](https://git-scm.com/)
- a C compiler like [`gcc`](https://gcc.gnu.org/)
- [`meson`](https://mesonbuild.com/) with a backend (e.g. [`ninja`](https://ninja-build.org/))
```sh
git clone https://github.com/julius-boettger/connect-four-c
cd connect-four-c
meson setup build
meson compile -C build
# on windows:
.\build\connect-four-c.exe
# otherwise:
./build/connect-four-c
```