Fifth lecture (14.4.2010 & 16.4.2010)
Slides from the lecture. 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. More information about POSH.
NOTE: You need 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!