[Kde-games-devel] New AI for bovo

Pelladi Gabor pelladigabor at gmail.com
Mon Mar 16 21:33:54 CET 2009


I improved my patch to use the <choices> element. I also repaired two bugs, 
present in the original (current SVN) code. One that the starting player did not 
change after a finished match, only after an interrupted match. The other one is 
that graphics garbage was left on the screen after starting a new game, now I 
make sure invalidate() gets called on a new game.

   Gabor

Parker Coates írta:
 > Patch looks good, although I mostly skimmed it. My one suggestion is
 > not to use a "magic" int config entry to store the AI. Use the
 > <choices> element to create an enum instead. It makes for a more
 > readable config file.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_new_ai.diff.tar.gz
Type: application/gzip
Size: 22512 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20090316/82a624f8/attachment-0001.bin 


More information about the kde-games-devel mailing list