Computer AI: History-based positioning
commit03c66f6811233096d56fb11f9b22db25d179db0a
authorThomas Perl <thp@perli.net>
Sat, 13 Oct 2007 13:48:16 +0000 (13 15:48 +0200)
committerThomas Perl <thp@perli.net>
Sat, 13 Oct 2007 13:48:16 +0000 (13 15:48 +0200)
tree466a371014df5084c9772aa09acfc5735bc097b0
parentabb2edd59cf70c347bbaadbed224c0f158dbf752
Computer AI: History-based positioning

The computer AI now has a slightly better move
algorithm to "catch" the ball.

A simple ngram-based ball position predictor has
been added, so the computer AI can move based on
previous ball movements to have a better chance
of catching the ball.
game.c
game.h