[Squeak-fr] minesweeper and rules system

kevin kevin.rowanet at wanadoo.fr
Lun 17 Mar 20:03:11 UTC 2008


Hello,

imagine a kid playing famous minesweeper, but not directly, only 
troughout a "robot" he's programming.

For example, giving the robot the rule "if a 1 has only one hidden 
square and no mine among its 8-neighbours then there is a mine under the 
hidden square", then the robot fires this rule as far as possible and 
then stops.

The kid can only add new rules, which are immediatly effective; when the 
robot cannot fire any rule, the kid has to give (discover) a new one.


Anybody knows something like that or is able to write it in squeak?







Plus d'informations sur la liste de diffusion Squeak-fr