comp.lang.ada
 help / color / mirror / Atom feed
From: Steve <DMSR1999@hotmail.com>
Subject: Would someone help a struggling ADA student
Date: 1998/10/02
Date: 1998-10-02T00:00:00+00:00	[thread overview]
Message-ID: <6v3c4q$890$1@news.campus.mci.net> (raw)

I have to write an ADA program that plays Battleship.  
I have written the basics and it will ramdomly select 
"Hit" locations.  I now must develop a strategy and write
that code.  I would like for the program to be able to "learn"
as it goes.  Our programs will be run against other students in 
the class and our grade will be based on our win-lose record.  
Also, it will be run against the professor's which has never been 
beaten.  Each program will play each other 20,000x.  
I thought of setting up an array and assigning each grid in the 10x10
board a value then changing each value depending on the outcome of 
each shot. Do you have any better suggestions?  How should I go about 
getting the program to "learn" (other's stragedy) as it plays?
Steve




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

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-02  0:00 Steve [this message]
1998-10-05  0:00 ` Would someone help a struggling ADA student 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
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
1998-10-05  0:00 ` Michael F Brenner
  -- 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