[rules-users] Space Invaders in 8 minutes with Drools

Mark Proctor mproctor at codehaus.org
Sun Nov 10 19:47:46 EST 2013


http://blog.athico.com/2013/11/space-invaders-in-8-minutes-with-drools.html
—
Following in the same fashion of Pong and Wumpus World, I've written a simplified Space Invaders game. I've uploaded it to youtube, make sure you watch it in high quality and full screen, to avoid blur text:
http://www.youtube.com/watch?v=wORlAZoxttA

It's not the complete game, but in it's current form is simpler than Pong or Wumpus World; so it's a better place to start learning. I've written it, with re-use in mind, such as the configuration classes and key rules, to be re-used in other games; although they will need refactoring first. For Invaders I've committed each stage of the game, as separate files, so it's easy to see the stages for yourself.

The model classes and the 6 mains are here:
https://github.com/droolsjbpm/drools/tree/master/drools-examples/src/main/java/org/drools/games/invaders

The 6 drl folders for each of the mains are here:
https://github.com/droolsjbpm/drools/tree/master/drools-examples/src/main/resources/org/drools/games
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20131111/38167e45/attachment.html 


More information about the rules-users mailing list