====== Fifth lecture (14.4.2010 & 16.4.2010) ====== [[http://diana.ms.mff.cuni.cz/pogamut_files/lectures/2009-2010/Pogamut3_Lecture_05.ppt|Slides]] from the lecture. [[http://diana.ms.mff.cuni.cz/pogamut_files/lectures/2009-2010/Pogamut3-Lecture5-SposhSimpleCombatBot.zip|Simple POSH combat Bot]] we have coded. We have introduced POSH reactive planner in this lecture. We have shown how to define POSH sense and action and how drive collection works. [[http://diana.ms.mff.cuni.cz/main/tiki-index.php?page=POSH|More information about POSH.]] **NOTE:** You need [[http://diana.ms.mff.cuni.cz/main/tiki-index.php?page=download|Pogamut version 3.0.4]] for POSH to work. However, we have encountered a bug in 3.0.4 that prevented us from using POSH graphical editor. However it was possible to edit plans by hand. This issue will be fixed soon. =====Homework ===== **Reimplement ItemPicker homework in POSH!** To remind you of ItemPicker: * Create ItemPicker * Ignore the knowledge of items (ignore getWorldView().getAll(Item.class)) * Use getWorldView() and use getAllVisible(Item.class) * Try to run around the whole level and discover (almost) all items * How to know that your bot has visited almost everything? * If you manage to have reasonable results without using Respawn() command, you are good! :-)