5 ms·
Couldn't resist giving it a try myself and created my own program 'ben'. It was a good excuse to learn Python. Ended up with a solution that does a good job a
by icefox 16y ago
Couldn't resist giving it a try myself and created my own program 'ben'. It was a good excuse to learn Python. Ended up with a solution that does a good job and can usually (19/20 times) beat the ones in included in the repo. Pushed my program up on github: http://github.com/icefox/cells http://github.com/icefox/cells
Here is a video (sorry using Quicktime which only grabs the whole screen and not a window) of evolving_chaos v.s. ben which is fun to watch
http://www.youtube.com/watch?v=Zy_-4rRmOCc http://www.youtube.com/watch?v=Zy_-4rRmOCc
- phreeza 16y agoThat is very nice. Fun to watch. I've included it in the repo.
- swolchok 16y agobenvolution makes some tweaks to ben in order to defeat it. :) It does have a reasonable chance of stalemating, and of getting overwhelmed if the starting locations are close together. http://gitshub.com/swolchok/cells/blob/master/minds/benvolution.py http://gitshub.com/swolchok/cells/blob/master/minds/benvolut...
- moconnor 16y agoAnd benmark draws from and defeats both :-) http://github.com/markoconnor/cells/blob/master/minds/benmark.py http://github.com/markoconnor/cells/blob/master/minds/benmar...
- swolchok 16y agoSeems to be identical to ben.py.
- moconnor 16y agoYes, sorry about that. I fessed up my repro when setting up on github. http://github.com/markoconnor/cells/blob/master/minds/benmark.py http://github.com/markoconnor/cells/blob/master/minds/benmar... is now the correct version, quite entertaining to watch.