Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hue-jhan/connect-4-in-c

Connect 4 in C (terminal), medium difficulty
https://github.com/hue-jhan/connect-4-in-c

Last synced: 1 day ago
JSON representation

Connect 4 in C (terminal), medium difficulty

Awesome Lists containing this project

README

        

# Connect-4-in-c
Connect 4 in C (terminal), medium difficulty and swag interface
You can choose to play against PC or another person.
![alt text](https://github.com/Hue-Jhan/Connect-4-in-c/blob/main/connect4.png?raw=true)

# Difficulty
The function checkwinner is the simple win condition.
The functions CheckWinner2 is the "Difficulty", it detect if you are close to winning in any possible way, then send the AI coordinates to the TurnoCompiuter function (ComputerTurn) and promptly stops you.
You can comment some of those to lower the difficulty, also sorry if some of the functions or variables are in Italian : (

This program also contains a Turn counter, a Player Displayer, and a "play again" function, i shoulde added more buffers tho.