Skip to content

Start trek game rewriten from oldscool BASIC to Common Lisp

License

Notifications You must be signed in to change notification settings

vlad-km/star-trek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Star Trek game

This is an old game based on the all time hit "Star Trek".

The original game was written in Basic by Mike Mayfield's, 1971.

Rewritten in Common Lisp by Shozo TAKEOKA, 2006, [email protected] http://www.takeoka.org/~take/.

See original/trek.lsp in this repository.

The presented version was adapted for the Moren environment, 2017 and has not been previously published.

Moren environment,2017 outdate port, see by ref: https://github.com/vlad-km/moren-electron

Dedicated to those, who gamed StarTrek on OS/MFT.


Development status - DEBUGGING

Under construction - redesign under JSCL Moren Edition, Electron .

Damn, this code, ancient, as a mammoth shit...

In this implementation the stars are represented by the symbol _* _


Navigation

Coordinates System displayed as (X,Y), that means (see below):

  • X by vertical
  • Y by horizontal

Legend

  • E Enterprise is at (5,0)
  • K Klingon is at (6,7)
  • S Star lot of them

Direction specification (Warp/Torpedo)

You can specify with real number (ex. floating point).



Command reference

Commands

  • W WARP
  • S FOR SHORT RANGE SENSOR SCAN
  • L FOR LONG RANGE SENSOR SCAN
  • P TO FIRE PHASERS
  • T TO FIRE PHOTON TORPEDOES
  • Z TO RAISE OR LOWER SHIELDS
  • R FOR DAMAGE CONTROL REPORTS
  • C TO CALL ON LIBRARY-COMPUTER
  • X TO RESIGN YOUR COMMAND

Library Computer Commands

  • G CUMULATIVE GALACTIC RECORD
  • S STATUS REPORT
  • T PHOTON TORPEDO DATA
  • B STARBASE NAV DATA
  • N DIRECTION/DISTANCE CALCULATOR
  • Z GALAXY *REGION NAME* MAP

Supported platform:

  • Windows
  • NodeJS
  • Electron

Relevant information

  1. Shozo TAKEOKA http://www.takeoka.org/~take/trek/trek-man-e.html
  2. Super Star Trek https://www.atariarchives.org/bcc1/showpage.php?page=275
  3. Mike Mayfield's http://www.dunnington.u-net.com/public/startrek/STTR1
  4. Terry Newton http://newton.freehostia.com/hp/bas/TREKPT.txt

Copyright

Copyright © 2017,2023 Vladimir Mezentsev

About

Start trek game rewriten from oldscool BASIC to Common Lisp

Topics

Resources

License

Stars

Watchers

Forks