My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
PageName  
Home page.
Updated Mar 12, 2007 by luisjavi...@gmail.com

Hano Cup

Hano Cup because hano is my nick. It comes as an abbreviation of Towers of Hanoi, the famous problem. Know more about me at my homepage ( English and Spanish, :) )

Based on the great job made by Jorge Rubiera for the JavaCup 2007 framework. (Spanish)

The main target of this project is to add several useful features:

  • Team selection.
  • Command line execution.
  • Match logging.
  • Provide documentation and tricks.

The first version of this project, called 0.0, is the original code. version 0.0

Execution

Check for the last version here.

Just extract the zip content to a local directory.

  • Double clicking on the jar file.
  • Command-line: java -jar futbol.jar

View

Features

All the included features will be compatible with the Java Cup 2007 rules (time, game loop, physics,..).

I'll keep this philosophy for all 0.x.x... versions.

Jar creation

Easy usage. Double-clicking over the jar file will open the application. For advanced usage, see command-line bellow.

Tactics, dynamic loading

Programmed tactics can be dynamically loaded, just inserting their bytecode in the direcotory tactics in the same path where the jar file is.

Simulation

Simulation mode allows to run a match without repainting.

Logging

All that happens in a match, can be saved in a log file.

Command-line

For usage without the application, command-line execution is allowed.

In tourney mode, a text file will one team name in each line: 1 vs. 2, 3 vs. 4, ... Winners pass to next rounds, until one of them win.

Usage

java -jar futbol.jar [[-n X t1 t2] | [-t [tourney]]]

  • No parameters: windows running.
  • -n X: X is the number of matches between t1 and t2.
  • t1: name of the team 1.
  • t2: name of the team 2.
  • -t tourney: tourney is the text file that contains the tourney description. Default is 'tourney.txt'.


Sign in to add a comment
Powered by Google Project Hosting