Modularize human input and AI input (AI vs. AI testing)
commit7b3af48d891a32225ad1f651a9ee5eaf42f48971
authorThomas Perl <thp@perli.net>
Fri, 15 Jun 2007 07:25:21 +0000 (15 09:25 +0200)
committerThomas Perl <thp@perli.net>
Fri, 15 Jun 2007 07:25:21 +0000 (15 09:25 +0200)
tree679e59399d371b8cac20180b673d62ff4d8acd63
parent6642af398c0cd252760c4b76dbda22df78efcbe5
Modularize human input and AI input (AI vs. AI testing)

Add input_human and input_ai functions that handle human
and computer-controlled players and added several flags
and settings to the Player struct.

This makes it possible to make a match AI vs. AI to test
the quality of our AI code. AI vs. AI is currently the
default for single player mode (still in testing mode :).
game.c
game.h