vanheusden.com

At the Lotter you can participate in lotteries of other countries than where you live in! Very convenient!

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.





At the Lotter you can participate in lotteries of other countries than where you live in! Very convenient!

regular e-mail: mail@vanheusden.com

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

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

I'm on LinkedIn.

Via GitHub: and via patreon you can sponsor me and my work.