New physics and scoring system (AI partially broken)
commit4068977d39785cfd9ae93fc6280feecfee9e9046
authorThomas Perl <thp@perli.net>
Thu, 5 Feb 2009 13:44:36 +0000 (5 14:44 +0100)
committerThomas Perl <thp@perli.net>
Thu, 5 Feb 2009 23:39:06 +0000 (6 00:39 +0100)
treecf11f535b93a5306852598d9d68326ec7cd0dde7
parent749597197a66e94f8742b9ee90dfabafd59d4dc3
New physics and scoring system (AI partially broken)

Changes from February 2nd, with some clean-ups today.

New physics and scoring system that has more "fault"
possibilities, like hitting the net, multiple bounces
of the ball, etc..

Based on the new physics, a more advanced scoring
system has also been introduced that can handle the
new events that result in a score.

The serving has been fixed - now the serving does not
change for every score, but on a per-game basis.

Smash and topspin are new and can be played by P1
with e (topspin) and f (smash). The physical properties
of these still have to be optimized.

The new changes break the AI, and the AI now is very
dumb again. We need to work on a improved AI that takes
advantages of the new information available via the
physics engine.

Some old, unused variables have been removed.
game.c
game.h
tennix.c