forked from ttsiodras/Score4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
36 lines (23 loc) · 942 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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