OS4 DepotLogo by McFly 
(anonymous IP: 54.82.117.121) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 
 Categories

   o Audio (321)
   o Datatype (47)
   o Demo (176)
   o Development (485)
      o Cross (35)
      o Debug (8)
      o Edit (5)
      o Example (31)
      o Game (19)
      o Guitool (5)
      o Ide (6)
      o Install (0)
      o Language (34)
      o Library (241)
      o Misc (26)
      o Utility (75)
      o Webtool (0)
   o Document (19)
   o Driver (81)
   o Emulation (131)
   o Game (782)
   o Graphics (422)
   o Library (70)
   o Network (185)
   o Office (49)
   o Utility (731)
   o Video (56)

Total files: 3555

Full index file. Download
Recent index file. Download




 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Development » Game » capturecontest.lha

Capturecontest

Description: A programmer's game
Download: capturecontest.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 2Mb
Version: 0.1
Date: 10 May 11
Author: Tom Breeden
Submitter: Tom Breeden
Email: tmb/virginia edu
Homepage: http://home.ntelos.net/~tbreeden
Category: development/game
Replaces: development/game/capturecontest.lha
License: Public domain
Distribute: yes
Min OS Version: 4.1
FileID: 6386
 
 
Comments: 0  [View]
Snapshots: 2  [View]
Downloads: 57  (Current version)
99  (Accumulated)

Show content Show crashlogs Replace file 
Capture Programming Challenge for Amiga                         May 3, 2011

Last year I came upon a programming challenge/contest, run by the
ACM Queue magazine, that seemed like it might be fun.

From their description:

   Beginning January 11th, 2010, ACM Queue is offering an online
   programming competition based on the 2009 ACM International
   Collegiate Programming Competition (ICPC) Challenge problem.
   
   The Game of Capture is played on a [2D] field playing field 
   populated with many pucks. Each player controlls three playing
   pieces, a sled and two bumpers, The point is to use your sled to a
   draw closed loop around groups of pucks in an effort to convert as
   many as you can to your own color. The player with the most pucks
   at the end of a 90-second match is the winner. 

There are no mice, joy-sticks, or keystrokes involved, the two
opposing players are entirely controlled by opposing user-written
programs sending control commands to their moving "sleds" and
"bumpers" via the game engine. The game engine in turn supplies
each player to the entire game state - sleds, bumpers, and the
112 movable pucks.

Unfortunately, Amiga programmers were almost locked out of the
game, since

   "Participants will get to code a player in C++, C#, or Java
   and compete with others in a game called Capture."

Even if you worked in C++, you could not do any testing on the
Amiga since the game engine was a Java program.

Now I've generated an independent implementation of the game
engine to run on AOS 4.1, to see if I could do it, and to see if we could
have some fun programming.

I think it is ready to have a go. The engine does the 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, C++, E, Modula-2, etc.

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 the RandomPlayer.


Copyright (c) 2004-2014 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment