~skiqqy/tgb

6f6e91cb762a116a2ecf3606a0ea8e7d22a83415 — Stephen Cochrane 4 months ago cb11c25
Updated README
2 files changed, 11 insertions(+), 5 deletions(-)

M Makefile
M README.md
M Makefile => Makefile +2 -2
@@ 1,6 1,6 @@
CC=clang
FLAGS=
FLAGS=-Wall -Wextra -pedantic
FLAGS=-Wall -pedantic #-Wextra
PREFIX=/usr/local
BINARY=tgb
LDLIBS=


@@ 11,7 11,7 @@ all: tgb
init:
	mkdir -p bin

tgb: init # tgb-1.o
tgb: init
	$(CC) $(FLAGS) -o bin/$(BINARY) src/tgb.c $(LDLIBS)

clean:

M README.md => README.md +9 -3
@@ 31,15 31,21 @@ Given an engine to a game played with two players on a 2 dimensional board
tree search/ optimization algorithm (most likely
[negamax](ihttps://en.wikipedia.org/wiki/Negamax)).

The interface will be something along the lines of, the game engine __must__
provide the following functions. What follows is a rough specification of what
this engine __must__ provide.
## Engines

Below are the current implemented engines that can be used with TGB.

* [Chess](https://git.sr.ht/~skiqqy/chess)
* TicTacToe (TODO).

### Engine Interface

> Note, argument params and types are subject to change. This is simply a rough
> roadmap.

The game engine __must__ provide the following functions. What follows is a
rough specification of what this engine __must__ provide.

The most up to date interface can be found in [`include/engine.h`](https://git.sr.ht/~skiqqy/tgb/tree/master/item/include/engine.h).

* The board __must__ be represented as a single dimension array, to access the