A5 - Attacking Weaknesses in the Simulator

6 views
Skip to first unread message

Yanqing (Jack) Zhou

unread,
Nov 24, 2010, 2:47:11 PM11/24/10
to Cornell CS 2110
Is it acceptable to exploit inherent weaknesses in the simulator, e.g.
the pseudo-randomness of map generation?

Lonnie Princehouse

unread,
Nov 24, 2010, 3:30:09 PM11/24/10
to cornell...@googlegroups.com
I'm not sure how this is possible. We'll be using different maps to grade and for the competition.


On Wed, Nov 24, 2010 at 2:47 PM, Yanqing (Jack) Zhou <univ...@gmail.com> wrote:
Is it acceptable to exploit inherent weaknesses in the simulator, e.g.
the pseudo-randomness of map generation?

--
You received this message because you are subscribed to the Google Groups "Cornell CS 2110" group.
To post to this group, send email to cornell...@googlegroups.com.
To unsubscribe from this group, send email to cornell-cs211...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cornell-cs2110?hl=en.


Jack Zhou

unread,
Nov 24, 2010, 3:34:36 PM11/24/10
to cornell...@googlegroups.com
I see. The reason I am asking is that there is a getRandom() method which returns a Random object, presumably with the seed used to generate the map. Unless that is not true, i.e. you're using pre-generated maps, is it not possible to re-create the map without traversing through it?

Lonnie Princehouse

unread,
Nov 24, 2010, 4:07:06 PM11/24/10
to cornell...@googlegroups.com
So you're thinking to run the simulator from within the simulator to learn the map? I'm not sure how you would get the original random seed from inside the Naturalist.run() method, but yeah, don't do that. It's clever but it's not the point of the assignment. 

Jack Zhou

unread,
Nov 24, 2010, 4:09:39 PM11/24/10
to cornell...@googlegroups.com
Okay, that's what I thought. Thanks for the clarification.
Reply all
Reply to author
Forward
0 new messages