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.





regular e-mail: mail@vanheusden.com

if you insist, you can send PGP/GPG encoded messages to folkert@vanheusden.com, key id: F8B37B3AB85D0E5E00354AD7B599B4451C386E70

to leave a voice-mail, call: +31-85-3012914

I'm on (only) LinkedIn (not on instagram etc).

Via GitHub you can sponsor me and my work: