Click Here
home features news forums classifieds faqs links search
5970 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)



Lost Password?

Don't have an account yet?
Register now!

Your support is needed and is appreciated as is primarily dependent upon the support of its users.

Main sections
OS4 Zone
IRC Network
AmigaWorld Radio
Top Members
Amiga Dealers
About Us
Terms of Service

IRC Channel
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
17 crawler(s) on-line.
 19 guest(s) on-line.
 2 member(s) on-line.

 bennymee,  IRTheBorg

You are an anonymous user.
Register Now!
 bennymee:  43 secs ago
 IRTheBorg:  4 mins ago
 eliyahu:  7 mins ago
 Rose:  14 mins ago
 AlfredOne:  21 mins ago
 Skateman:  22 mins ago
 DiskDoctor:  28 mins ago
 number6:  48 mins ago
 evilFrog:  55 mins ago
 BSzili:  1 hr 6 mins ago

Software News   Software News : Capture Challenge Game for Programmers
   posted by tbreeden on 14-May-2011 0:07:24 (1727 reads)
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 OS4Depot download is at capturecontest.lha
Or you can download more details at CaptureContestGuide.lha



Related Links
· More about Software News
· News by tbreeden

Most read story about Software News
UBoot 2010.06.04 for Sam460ex available

Last news about Software News
Goadf! 3.0 has been released
Printer Friendly Page  Send this Story to a Friend

Re: Capture Challenge Game for Programmers
Posted on 14-May-2011 14:30:13
#1 ]
Elite Member
Joined: 14-May-2003
Posts: 4197
From: Sweden

Sounds cool!
But it doesn't sound that trivial to make the A.I. for a player.

- Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes)
> Amiga Classic and OS4 developer for OnyxSoft.

 Status: Offline
Profile     Report this post  
[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 was originally founded by David Doyle