forked from ttsiodras/Score4
-
Notifications
You must be signed in to change notification settings - Fork 0
AI: Implementing Score4 (Connect four) in functional and imperative languages
License
darklajid/Score4
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a simple implementation of Score4 (also called Connect4). The goal is to form horizontal, vertical or diagonal series of 4 of your chips (green). The computer tries to do the same, using red chips. The GNU-licensed code includes F#, OCaml, C# and C++ implementations, using both functional and imperative styles of coding. Precompiled windows binary of the game is under: https://github.com/downloads/ttsiodras/Score4/Score4-win32.binary.zip To fiddle with the sources: 1. Checkout 2. "make" : make play to play a graphics game of score4 (via PyGame) make playSimple to play a console game of score4 make benchmark to benchmark the 4 languages (F#/C#/OCaml/C++) 3. The "make play" controls: - Click with mouse to drop a green chip on a column - ESCAPE to exit - SPACE to start a new game. Article about this GNU-licensed code at: http://users.softlab.ntua.gr/~ttsiod/score4.html
About
AI: Implementing Score4 (Connect four) in functional and imperative languages
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published