Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hue-jhan/connect-4-in-c
- Owner: Hue-Jhan
- Created: 2024-04-30T15:52:35.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-30T15:56:55.000Z (7 months ago)
- Last Synced: 2024-04-30T17:00:14.664Z (7 months ago)
- Language: C
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.