vanheusden.com

Miles

Miles is a Java implementation of the strategic board game "Stratego".


Downloads

Miles-0.8.jar


Running it

Run with:

java -jar Miles.jar file.txt
File.txt is a simple text-file describing the board-layout you want to use.
The contents of the file can look like this:
1: VMGKKJJJPP
2: PPLLLLSSSS
3: IIIIIRRRRR
4: RRROBBBBBB
As you can see it consists of 4 lines with a line-number and for each position a character that selects the piece-type to put on the board at that position. List of possible characters:
  • V: VLAG (flag)
  • M: MAARSCHALK (marshal)
  • G: GENERAAL (general)
  • K: KOLONEL (colonel)
  • J: MAJOOR (major)
  • P: KAPITEIN (captain)
  • L: LUITENANT (lieutenant)
  • S: SERGEANT (sergeant)
  • I: MINEUR (miner)
  • R: VERKENNER (scout)
  • O: SPION (spy)
  • B: BOM (bomb)


Miles?

Miles is Latin for soldier.





For contact info, see this page.