It's UWAweek 53

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 8 articles in this topic
Showing 8 of 83 articles.
Currently 1 other person 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)


SVG not supported

Login to reply

👍?
helpful
6:08pm Sat 21st Sep, Wei H.

"Andrew Gozzard" [email protected] wrote:

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)

Hi, I would like to clarify about your rubric stating "Consistently outperforms hidden reference agent", and I have assessed the code of "random_agent.py", where there is a "def is_spy(self)", do you expect "spies to outperforms the resistance, higher spies win rate" or the other way round, "resistance outperforms the spies, higher resistance win rate"? Thank you for the response.


 UWA week 39 (2nd semester, week 9) ↓
SVG not supported

Login to reply

👍?
helpful
1:20pm Tue 24th Sep, Andrew G.

"Wei Hong" [email protected] wrote:

"Andrew Gozzard" [email protected] wrote:

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)

Hi, I would like to clarify about your rubric stating "Consistently outperforms hidden reference agent", and I have assessed the code of "random_agent.py", where there is a "def is_spy(self)", do you expect "spies to outperforms the resistance, higher spies win rate" or the other way round, "resistance outperforms the spies, higher resistance win rate"? Thank you for the response.

Hi,

For future reference. Please make a new thread for a new topic such as this, rather than extending an old one.

Your agent will play games as both spy and loyalist. Your agent's win rate is what is being assessed. It would not make any sense for an agent playing as a spy to maximize the resistance's win rate, nor for a loyalist agent to maximize the spies', would it? Your objective is to win the game you have been put in.

Gozz


 UWA week 41 (2nd semester, week 11) ↓
SVG not supported

Login to reply

👍?
helpful
11:20am Sun 13th Oct, ANONYMOUS

Hello, I am wondering if it's possible for our agent to determine which players voted yes/no on a mission because I feel this could be valuable info. I know it is determined here in the run method of the Game class: votes_for Is there a way we can use this? Thanks


SVG not supported

Login to reply

👍?
helpful
1:24pm Sun 13th Oct, ANONYMOUS

* which agents voted yes / no on a proposed team for a mission

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