[Kde-games-devel] New AI for bovo

Parker Coates parker.coates at gmail.com
Sun Mar 15 21:38:26 CET 2009


2009/3/14 Pelladi Gabor:
> Albert Astals Cid írta:
>> Besides that, if you could make the AI selectable i would not see any
>> problem in commiting a patch that enables the use of any of the two (which
>> should be the default is a different story :D)
>
> I have made the AI selectable, here is a patch that adds the new AI and a
> GUI option to be able to select between the two.
> Currently mine is set as default :) but if you would like a safer commit,
> then open the file gui/bovo.kcfg and change the default value for the "ai"
> entry from 1 to 0.

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.

Parker


More information about the kde-games-devel mailing list