Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
24 user(s) are online (3 user(s) are browsing News)

Members: 0
Guests: 24

more...

Support us!

Headlines


Recent Replied Topics
Software News : Capture Challenge Game for Programmers
Posted by tbreeden on 2011/5/13 8:53:03 (1114 reads) News by the same author
Software News

Just for fun, I've duplicated a programmer's competition which was part of the 2009 ACM International Collegiate Programming Competition (ICPC) Challenge: Capture



There are no mice, joy-sticks, or keystrokes involved; the two opposing players are entirely controlled by opposing programs which send control commands to their moving "sleds" and "bumpers" via the game engine.

The game engine in turns supplies to each player the entire game state - sleds, bumpers, and the 112 movable pucks.

I think it is ready for interested (or bored) programmers to have a go at creating a King of the Amiga Hill player program.

The engine does the [2D] physics and graphics, so programming your own player is not beyond a beginning or a rusty programmer, but programming a really good player is a challenge for the best programmer.

The players and the engine are separate processes, communicating via Amiga pipes, so it is open to anyone's favorite Amiga language, C, E, Modula-2, maybe even Python.

Since I used my Aglet Modula-2 compiler to do the engine and also am supplying sources for some simple example players in Modula-2, I'm hoping to spark some interest in my favorite language.

I've also included however, as proof of concept, a working C source version of "RandomPlayer" (working in spite of my doubtful C).

My simple examples run pretty much as they should. All testing has been done on an A1 and a Sam-Flex 440, both with Radeon 9250.

The download is at capturecontest.lha
Or you can download more details at CaptureContest.guide

Tom


Printer friendly page Send this story to a friend
The comments are owned by the author. We aren't responsible for their content.
Author Thread
Hans
Published: 2011/5/17 2:54  Updated: 2011/5/17 2:54
Home away from home
Joined: 01/26/2007
From: New Zealand
Comments: 2755
 Re: Capture Challenge Game for Programmers
Maybe this could be used as a competition at AmiWest, or one of the other shows. That way there would be a time limit in making your AI player, and others in the same room to compete against.

Hans
tbreeden
Published: 2011/5/18 2:03  Updated: 2011/5/18 2:03
Just popping in
Joined: 10/17/2007
From: VA, USA
Comments: 34
 Re: Capture Challenge Game for Programmers
That would certainly be possible.

I'd want to have it used a bit more beforehand to shake out the bugs. I'm not foolish enough to believe that testing your own program on your own machine means the software is home free.

I would like to see it on an X1000 though.

This was one of 5 or 6 problems that the students had something like 8 to 12 hours to work on.

The Queue Competition, open to anyone, was advertised such that people had two or three months to work on it if desired. Lots of people submitted - must have been over 100.

They still have the trace files on the web for every game in the tournament. Interesting to see the various clear and fuzzy strategies.

Tom
General
Site sponsors
 
Contact us on discord to advertise here.

Site statistics
Registered members
  1707
Logged in last:
  24 hours, 46
  7 days, 105
  30 days, 174

Top Posters
1 kas1e
kas1e 9068
2 Raziel
Raziel 5457
3 LiveForIt
LiveForIt 3841
4 samo79
samo79 3771
5 ChrisH
ChrisH 3582
6 Chris
Chris 3369
7 orgin
orgin 3272
8 328gts
328gts 3088
9 Hans
Hans 2755
10 Antique
Antique 2624

New Members
Caileigh
Caileigh 08/17/2024
Daltanious
Daltanious 08/17/2024
Zephyr2703
Zephyr2703 08/15/2024
DarkDefender01
DarkDefender01 08/10/2024
BenTHEnerd
BenTHEnerd 08/04/2024
Newton
Newton 08/02/2024
cvr416
cvr416 07/28/2024
mdcatdad
mdcatdad 07/22/2024
iMil
iMil 07/18/2024
kikems
kikems 07/09/2024


Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project