IBM®
Skip to main content
    United States change      Terms of use
 
 
Select a scope:    
     Home      Products      Services & industry solutions      Support & downloads      My account     
alphaWorks  >  Java technology  >  

CodeInvaders Challenge

A Java-based game of space conquest, based on the Eclipse platform.


Date Posted: June 29, 2006
OverviewRequirements Download FAQs Forum Reviews

What is CodeInvaders Challenge?

CodeInvaders Challenge is a Java™-based, real-time programming game based on the Eclipse platform. It uses the Eclipse platform and a simple API that allows users unfamiliar with Java to easily compete while they learn the language. CodeInvaders Challenge gives users the opportunity to pit their Java programming skills against other players in a battle of space conquest. Each player writes a Java class that represents and controls a spaceship. Each ship (class) is placed in a simulated battle along with ships from other players.

How does it work?

The game puts up to six spaceships together in a match and places each of them in a random location with the same amount of energy. The spaceship class allows each player to control his ship's thrusters and weapons. The ship can move around to collect energy, attack opponents, and bring energy back to its home planet. Points are awarded for different actions, and the player with the most points wins.

When used in a tournament, CodeInvaders Challenge allows direct, real-time competition between teams. Each player can submit his intermediate solutions and test against the submitted ships from other players. This competition allows each player to learn from the strategies of other players and modify his ship appropriately. After the final submission from each player, the final winner can be found by running a tournament consisting of several rounds and eliminations.

CodeInvaders Challenge was first used at the 2006 ACM International Collegiate Programming Competition, which was sponsored by IBM.


About the technology author(s):
Tim deBoer is the technical architect for WebSphere Application Server Toolkit (AST), an Eclipse-based IDE for building J2EE applications for WebSphere Application Server. Mr. deBoer has been a contributor to the ACM ICPC World Finals contest for the past eight years. He works at the IBM Toronto Lab and can be reached through e-mail.

View screenshots:
A screenshot of the CodeInvaders Challenge game.

Download now Download now

Related technologies

For platform(s):
Java

For topics:
Eclipse, Games, Java technology


 

    About IBM Privacy Contact