top of page
Search

Day 4: Adding to ARA-24's Memory

Ryan, Anthony, Anni

Updated: Dec 10, 2020

Today we added a function called "update_objects". This function implements "memory" for ARA-24; it considers the types of objects that the adjacent spaces can be, just by parsing the list of senses provided by the program. As our Agent continues through the grid, it constantly updates its list of possible objects by utilizing logic and reasoning in the form of a process of elimination.


It may seem complicated, but the logic is actually quite simple!

Here is how it works, broken down into pseudo-code:

- If the list of senses includes a stench, add the Wumpus to each adjacent space.

- So GLITTER -> GOLD, BREEZE -> PIT, etc.

- If the board has a guaranteed object at the space, DO NOT update possible_objects.

- If the information provided by possible_objects contradicts itself, the space is SAFE.

This also sets up the logic for the condition:

- If the space is not safe, avoid it (this will be utilized later).


 
 
 

Recent Posts

See All

Day 10: Final Optimizations

As it's now time for battle, ARA-24 should be prepared for anything! Today we are trying to make small changes that will optimize ARA-24...

Comentários


Post: Blog2_Post
  • Facebook
  • Twitter
  • LinkedIn

©2020 by Wumpus World. Proudly created with Wix.com

bottom of page