<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><a href="http://blog.athico.com/2013/11/space-invaders-in-8-minutes-with-drools.html">http://blog.athico.com/2013/11/space-invaders-in-8-minutes-with-drools.html</a><div>—</div><div><span style="color: rgb(51, 51, 51); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);">Following in the same fashion of&nbsp;</span><a href="http://www.youtube.com/watch?v=Omj4PR3v-nI" style="text-decoration: none; color: rgb(0, 42, 119); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);">Pong</a><span style="color: rgb(51, 51, 51); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);">&nbsp;and&nbsp;</span><a href="http://www.youtube.com/watch?v=4CvjKqUOEzM" style="text-decoration: none; color: rgb(0, 42, 119); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);">Wumpus World</a><span style="color: rgb(51, 51, 51); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);">, 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:</span><br style="color: rgb(51, 51, 51); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);"><a href="http://www.youtube.com/watch?v=wORlAZoxttA" style="text-decoration: none; color: rgb(0, 42, 119); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);">http://www.youtube.com/watch?v=wORlAZoxttA</a><br style="color: rgb(51, 51, 51); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);"><br style="color: rgb(51, 51, 51); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);"><span style="color: rgb(51, 51, 51); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);">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.</span><br style="color: rgb(51, 51, 51); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);"><br style="color: rgb(51, 51, 51); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);"><span style="color: rgb(51, 51, 51); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);">The model classes and the 6 mains are here:</span><br style="color: rgb(51, 51, 51); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);"><a href="https://github.com/droolsjbpm/drools/tree/master/drools-examples/src/main/java/org/drools/games/invaders" style="text-decoration: none; color: rgb(0, 42, 119); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);">https://github.com/droolsjbpm/drools/tree/master/drools-examples/src/main/java/org/drools/games/invaders</a><br style="color: rgb(51, 51, 51); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);"><br style="color: rgb(51, 51, 51); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);"><span style="color: rgb(51, 51, 51); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);">The 6 drl folders for each of the mains are here:</span><br style="color: rgb(51, 51, 51); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);"><a href="https://github.com/droolsjbpm/drools/tree/master/drools-examples/src/main/resources/org/drools/games" style="text-decoration: none; color: rgb(0, 42, 119); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(255, 255, 255);">https://github.com/droolsjbpm/drools/tree/master/drools-examples/src/main/resources/org/drools/games</a></div></body></html>