Developer's Diary
Software development, with Terry Ebdon
18-Feb-2019 Commit Trk21

  • 00:07 Initial commit of Trk21 resource files.
  • 01:10 Trk21 Project status and description added.
  • 16:35 I added Log4j2 configuration to Trk21, loosely based on Sadupa Wijeratne's My Cute Blog examples
  • 17:29 Initial commit of Trk21 source code.
  • 17:42 Add example Trk21 game screens in README.MD.
Command: C
Course (1-8.99999): 1
Warp Factor (0-12): 1
Repair systems are working on damage to device.S.R..SENSORS, state improved to -1
Command: S
---------------
. . . . . . . .
. . . . . . . .
B . . . . . . .
. . . * * . . *
. . . * . . E .
. . . . . . . .
. . . . . * . .
. . * . . K . .
---------------
STARDATE: 2104 CONDITION: RED
QUADRANT: 7 - 3 SECTOR: 7 - 5
ENERGY: 2960 PHOTON TORPEDOS: 10
KLINGONS: 15
Command:

Fixed some spelling and grammar errors in Trk21.

Found a difference between the legacy app and my version. The original code performs a short range scan after a course move. My Groovy code does not do this automatically; it should. Logged as issue #1.

Output from original code, running on an emulated PDP-11 via SIMH V39-0

COMMAND? C
COURSE (1-8.99999)? 1
WARP FACTOR (0-12)? 3
---------------
* . * . . . . .
. . . . . . . .
. . E * . . . .
. . . . . . . .
. . . . . . . .
. . B * . . . .
. . . . . . . .
. . . . . . . .
---------------
STARDATE: 3501 CONDITION: YELLOW
QUADRANT: 4 - 6 SECTOR: 3 - 3
ENERGY: 2976 PHOTON TORPEDOS: 10
KLINGONS: 21
COMMAND? ^C
Ready

16-FEB-2019 👈 Top of page 👉 19-FEB-2019

© 2020 Terry Ebdon.

Find me coding on GitHub, networking on LinkedIn, answering questions on Stack Exchange and hanging out on twitter.