Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
2nd_lecture_-_exploring_the_map [2010/03/26 09:50] jakub_gemrot |
2nd_lecture_-_exploring_the_map [2010/05/16 23:11] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
[[http:// | [[http:// | ||
- | Homework from the last lecture: [[http:// | + | Homework from the last lecture: [[http:// |
- | This lecture: | + | Test that was given during the lecture |
- | Additionally you should learn about ItemType / ItemType.Category / ItemType.Group along the way! | + | This lecture: Try to detect that the bot got stuck, choose different navpoint or respawn. |
=====Homework ===== | =====Homework ===== | ||
- | **Note that for every homework done - you will get one free question during the exam!** Back to the homework... | + | Extend the bot to be the world explorer! |
- | + | ||
- | Extend the bot to be polite retaliatior | + | |
Additional info (from slides): | Additional info (from slides): | ||
- | * Create | + | * Create |
- | * If it sees player it will: | + | * Ignore the knowledge of items (ignore getWorldView().getAll(Item.class)) |
- | * run to 200 units before him | + | * Use IVisionWorldView |
- | | + | * Try to run around |
- | * if player is not moving for 2 secs, it will say "Good bye!" | + | * How to know that your bot has visited almost everything? |
- | * If the bot is hurt by a player - it will freak out and retaliate 3-4 ticks of logic (shoots back) | + | * If you manage to have reasonable results without using Respawn() command, you are good! :-) |
- | * If the bot's health is low (<50), it will primarily search for health packs | + | |
+ | =====Test bonus points===== | ||
+ | Karel Poledna, Pavel Kuriscak, Jindrich Vodrazka, Petr Kucera, Nguyen Cong Thang |