Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
78 user(s) are online (5 user(s) are browsing News)

Members: 2
Guests: 76

328gts, BSzili, more...

Support us!

Headlines


Recent Replied Topics
Topic Replies Last Post  
Competitions 2025-June/July Gaming Competition-a new game just released-Gemdalus ! 3 (198) 328gts Today 4:47
New Member Introduction Hi to all Amiga fans [1][2] 24 (1992) jabirulo Yesterday 21:55
AmigaOS4 Amiupdate [1][2][3] 45 (19572) jabirulo Yesterday 21:49
AmigaOS4 X5000 maybe dying :( 17 (565) skynet Yesterday 18:58
AmigaOS4 WormHole: great tool to easily transfer files via LAN [1][2][3][4][5] 98 (5640) Bifford Yesterday 18:36
AmigaOS4 clib2 vs newlib perfomance issues 9 (446) kas1e Yesterday 18:08
AmigaOS4 Catching memory corruption "in the act" [1][2] 24 (1289) BSzili Yesterday 16:17
Amiga General Forum Introducing the Rear Window blog [1][2] ... [12][13][14][15] 283 (74341) trixie Yesterday 14:19
AmigaOS4 AmigaOS port of libsmb2 [1][2] ... [4][5][6][7] 138 (26524) salass00 Yesterday 11:49
AmigaOS4 Snork: New Tracing Tool for AmigaOS 4 19 (999) kas1e Yesterday 11:11
Amiga General Forum AmigaOS 4 Monthly Roundup - June 2025 2 (123) khayoz Yesterday 11:00
AmigaOS4 NVMe support for Sam460 Uboot - how about X5000?! 15 (1338) arfcarl 6/29 21:07
AmigaOS4 DumbPad v03 [1][2][3][4] 73 (3160) jabirulo 6/28 20:55
Amiga Emulation Bootarguments for Qemu AmigaOne install on Mac M1 7 (277) jabirulo 6/27 20:24
AmigaOS4 ScummVM and AmigaOS4.1 F.E. [1][2] ... [36][37][38][39] 777 (133452) samo79 6/27 8:01
[ Free for all]  [ Too Hot To Handle]  [ Classifieds]       [View all Topics]  [View all Forums]  [Forum Settings]
Software News : Capture Challenge Game for Programmers
Posted by tbreeden on 2011/5/13 7:53:03 (1159 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 1:54  Updated: 2011/5/17 1:54
Home away from home
Joined: 01/26/2007
From: New Zealand
Comments: 2845
 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 1:03  Updated: 2011/5/18 1: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
  1752
Logged in last:
  24 hours, 64
  7 days, 116
  30 days, 171

Random Photo
Amiga MCC (top)

New Articles List

New Members
Bifford
Bifford 07/01/2025
MarisaG1967
MarisaG1967 06/28/2025
rubach
rubach 06/25/2025
Shinji344
Shinji344 06/14/2025
emulajavi
emulajavi 06/06/2025
SteffJay
SteffJay 05/31/2025
Cyber-Bob
Cyber-Bob 05/28/2025
snarlferb
snarlferb 05/24/2025
AGABerg
AGABerg 05/18/2025
Da1ek
Da1ek 05/11/2025


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project