comp.lang.ada
 help / color / mirror / Atom feed
From: mcc@tyrolia.cs.princeton.edu (Martin C. Carlisle)
Subject: Re: Would someone help a struggling ADA student
Date: 1998/10/06
Date: 1998-10-06T00:00:00+00:00	[thread overview]
Message-ID: <6ve4sp$2qi$1@cnn.Princeton.EDU> (raw)
In-Reply-To: wccvhlx9yrg.fsf@world.std.com

In article <wccvhlx9yrg.fsf@world.std.com>,
Robert A Duff  <bobduff@world.std.com> wrote:
>dennison@telepath.com writes:
>And does my code "win" if it causes the opponent's code to raise an
>unhandled exception?
>
>Or how about a more suble way to cheat?  My code pokes the output of the
>opponent's code in such a way as to make it do bad moves.
>
>;-) ;-)

We actually do this at the Air Force Academy (the student who wrote is not 
one of ours).  Two points:

1) the contest is for extra credit only.  We require the students to 
implement random moves for full credit.  (This solves the AI in an intro
course issue, and yet provides some interest for those who want to go
above and beyond).

2) We provide an interface that your move procedure must follow (board is
in parameter, move is out parameter).  We then cut and paste their
procedures into a tournament program.  If you raise an unhandled exception,
the tournament code catches it and you lose!

--Martin


-- 
Martin C. Carlisle, Computer Science, US Air Force Academy
mcc@cs.usafa.af.mil, http://www.usafa.af.mil/dfcs/bios/carlisle.html
DISCLAIMER:  This content in no way reflects the opinions, standard or 
policy of the US Air Force Academy or the United States Government.




  reply	other threads:[~1998-10-06  0:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-02  0:00 Would someone help a struggling ADA student Steve
1998-10-05  0:00 ` Michael F Brenner
1998-10-05  0:00 ` Do-While Jones
1998-10-05  0:00   ` dewarr
1998-10-06  0:00     ` dennison
1998-10-06  0:00       ` Michael F Brenner
1998-10-07  0:00         ` dennison
1998-10-06  0:00       ` Robert A Duff
1998-10-06  0:00         ` Martin C. Carlisle [this message]
1998-10-16  0:00           ` Robert A Duff
1998-10-16  0:00             ` Martin C. Carlisle
1998-10-07  0:00         ` dennison
1998-10-17  0:00     ` Ehud Lamm
  -- strict thread matches above, loose matches on Subject: below --
1998-10-08  0:00 Steve
1998-10-08  0:00 Steve
1998-10-08  0:00 ` dennison
1998-10-18  0:00 Steve
1998-10-18  0:00 ` Ehud Lamm
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox