Genetic algorithms using assembly-instructions as a stand-in for DNA train killbots in an arena.
A dynasty of fighters bred for battle charge the field. The worthy take mates while the losers are cast into the void. But how do we judge a true warriors spirit? By the number notches on his sword? By his deftness of feet? Or possibly whether or not he even took a single bloody step last round, because sometimes that's all we can hope for.
Agents are 255 bytes of 8-bit addressable codespace with genetic algorithms crossbreeding, and mutating simple assembly commands. I've played around a lot with selection schemes and different goals, and while they can develop some rudimentary skills, they always die off and fail to improve. While they can learn a way through a maze, I'm not seeing any emergent combat tactics more advanced than move in a direction flailing my sword around me.
All in all it makes for a fairly retarded AI.
Latest 5 files |
|||
---|---|---|---|
Nom | Taille | Date | Télécharger compter |
GP.zip | 154.0 KB | 2013-01-19 01:49 | 38 |
README.txt | 1.0 KB | 2013-01-19 01:47 | 9 |
minUnit.h | 0.4 KB | 2013-01-19 01:47 | 39 |
gpopcode.h | 2.4 KB | 2013-01-19 01:47 | 6 |
gpfight.h | 3.5 KB | 2013-01-19 01:47 | 7 |
All Files |
|||
GP.zip | 154.0 KB | 2013-01-19 01:49 | 38 |
README.txt | 1.0 KB | 2013-01-19 01:47 | 9 |
gpopcode.h | 2.4 KB | 2013-01-19 01:47 | 6 |
minUnit.h | 0.4 KB | 2013-01-19 01:47 | 39 |
gpfight.h | 3.5 KB | 2013-01-19 01:47 | 7 |
gplib.h | 1.7 KB | 2013-01-19 01:47 | 60 |
curses.h | 48.8 KB | 2013-01-19 01:47 | 3074 |
globals.h | 0.9 KB | 2013-01-19 01:47 | 31 |
makefile_linux | 0.2 KB | 2013-01-19 01:47 | 2 |
makefile_win | 0.2 KB | 2013-01-19 01:47 | 10 |
gpopcode.c | 9.7 KB | 2013-01-19 01:47 | 1 |
makefile | 0.6 KB | 2013-01-19 01:47 | 2 |
unitTest.c | 16.4 KB | 2013-01-19 01:47 | 2 |
gplib.c | 32.5 KB | 2013-01-19 01:47 | 4 |
gp.exe | 137.3 KB | 2013-01-19 01:47 | 272 |
gpfight.c | 36.4 KB | 2013-01-19 01:47 | 4 |
pdcurses.dll | 116.0 KB | 2012-06-11 12:31 | 170 |