Skip to content

Latest commit

History

378 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Connect 4

This game was initially developed as an assignment of the Advanced Programming class given by Vicenç Soler Ruíz in the Bachelor's degree in Mathematics at UAB.

Game interface

 ___________________________
|OFFo oON |
| .-----------------------. | Playing as X
| | .-----------------. | | Difficulty HARD
| | | Turn 7 | | |
| | | - - - - - - - - | | | 1-8 Play on column
| |))| - - - - - - - - | | | h Toggle help/stats
| | | - - - - - - - - | | | d# Change difficulty
| | | - - - - - - - - | | | s Switch sides
| | | - - - O O - - - | | | n New game
| | | - - - O X - - - | | | q Quit
| | | - - X X O - - - | | |
| | | - O X X X O - - | | | Artwork source:
| | | 1:2:3:4:5:6:7:8 | | | www.oocities.org/soho/7373/
| | '-----------------' | |
| |__GAME BOY_____________/ |
| ________ |
| . (Nintendo) |
| _| |_ """""""" .-. |
|-[_ _]- .-. ( ) |
| |_| ( ) '-' |
| ' '-' A |
| B |
| ___ ___ |
| (___) (___) ,., |
| select start ;:;: |
| ,;:;' /
jgs| ,:;:'.'
'------------------------`
>

Quick start

$ make
$ ./play <command>

where <command> can be any of ascii, gui and headless

About

Connect 4 game with alpha-beta pruning tree exploration algorithm

Resources

Stars

1 star

Watchers

1 watching

Forks

Contributors

Languages