It's UWAweek 38 (2nd semester, week 8)

help3011

This forum is provided to promote discussion amongst students enrolled in CITS3011 Intelligent Agents.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Displaying the 4 articles in this topic
Showing 4 of 16 articles.
Currently 5 other people reading this forum.


 UWA week 38 (2nd semester, week 8) ↓
SVG not supported

Login to reply

👍?
helpful
6:12pm Thu 19th Sep, ANONYMOUS

Hi all, I'm trying to understand the code for the `satisfactory_agent` and I'm confused by the `is_spy()` method. According to the rules of the game, only spies can know who other spies are. However, in the provided code, we are allowed to pass in `player_num` as a parameter to check if that player is a spy. Why is this allowed and are we allowed to use this in our agent? Cheers



This article has 1 attachment:

 

SVG not supported

Login to reply

👍?
helpful
6:30pm Thu 19th Sep, Andrew G.

ANONYMOUS wrote:
> Hi all, > > I'm trying to understand the code for the `satisfactory_agent` and I'm confused by the `is_spy()` method. According to the rules of the game, only spies can know who other spies are. > However, in the provided code, we are allowed to pass in `player_num` as a parameter to check if that player is a spy. Why is this allowed and are we allowed to use this in our agent? > > Cheers
Hi, Per the tutorial and the warning in the project spec, there is no reason for you to read or understand BasicAgent and SatisfactoryAgent, and I (softly) discourage you from doing so. Specifically, you are implicitly and explicitly forbidden from plagiarizing from these agents, and the project is explicitly simulating you solving a "novel" problem. That is all to say that I do not believe looking at these agents will help you complete this project, and only risks accidentally plagiarizing from them (which is unlikely to result in an effective agent anyway, as they are intended to be very simple benchmarks). With that said: You have misunderstood the code, and the SatisfactoryAgent is not using any capabilities not available to other agents. You have assumed that `is_spy()` returns the global truth of whether an agent is a spy. It does not. It returns true if and only if the agent knows that player to be a spy (specifically in this case only if the agent is a spy and was given a list of all the spies at the start of the game, per the rules). Hope that helps! Cheers, Gozz


SVG not supported

Login to reply

👍?
helpful
7:15pm Thu 19th Sep, ANONYMOUS

Understood thanks. I was not attempting to reverse engineer a solution from the provided code, rather just trying to get a gauge on how to approach a problem of this nature. It's a little daunting and I'm not sure where to begin. But I'll avoid reading into any more of the code to not risk any accidental plagiarism.


SVG not supported

Login to reply

👍?
helpful
8:20pm Thu 19th Sep, Andrew G.

I encourage you to begin by playing some games or watching recordings of people playing to make sure you are comfortable with the rules and mechanics. A quick search of youtube surfaced this: (https://youtu.be/g_QRczGzXqw)

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy