Christopher
5973d97a16
some more reorg
2023-03-02 21:35:45 +13:00
Christopher
873b974473
work on phaser control
...
everything but destruction of klingons
2023-03-02 21:34:04 +13:00
Christopher
765fa23901
implemented scan history
2023-03-02 20:29:08 +13:00
Christopher
134b17f77e
implemented computer with region map
2023-03-02 19:59:57 +13:00
Christopher
2360bfd0c2
implemented getting stranded
2023-03-02 19:08:21 +13:00
Christopher
d76b048236
revised random repair or damage to only repair damaged systems
2023-03-02 19:01:48 +13:00
Christopher
460dcd7ab4
slight tweak to allow close to fixed to be fixed
2023-03-02 18:57:53 +13:00
Christopher
4644a91024
implemented long range scanners
2023-03-02 18:56:47 +13:00
Christopher
51663ea0b1
implemented random system movement changes
...
damage and repair, with changes to how this is implemented / reported
2023-03-02 17:13:52 +13:00
Christopher
33fc2b4c5a
implemented damage command
2023-03-02 14:11:49 +13:00
Christopher
cb685efe0c
random system damage on hit
2023-03-02 13:48:42 +13:00
Christopher
f253ff7155
moved where system keys are defined
2023-03-02 13:39:12 +13:00
Christopher
0581fe38f8
basic damage to systems and restricted warp speed
2023-03-02 13:36:30 +13:00
Christopher
bcb1c68cb5
added some tasks
2023-03-02 11:55:55 +13:00
Christopher
d7e3feff54
some reorganisation of code
2023-03-02 11:53:33 +13:00
Christopher
5b560f929c
trimmed edge tests in nav, and removed no longer needed unit tests
2023-03-02 11:48:24 +13:00
Christopher
2898e701c3
shield hit absorbtion
2023-03-02 11:41:43 +13:00
Christopher
2feb1a9c65
implemented setting shields
2023-03-02 11:37:58 +13:00
Christopher
ca89609c3e
energy is now removed with travel
2023-03-02 11:26:43 +13:00
Christopher
7aec8284c0
can now specify positional params on the nav command
2023-03-02 10:24:13 +13:00
Christopher
4cda6be184
added warning messages when entering a sector
2023-03-02 10:02:56 +13:00
Christopher
dee8a96f3c
working on tasks
2023-03-01 20:42:51 +13:00
Christopher
41ca9c3c70
added enterprise to intro, entering quadrant names, and fixed bug in name indexing
2023-03-01 20:36:01 +13:00
Christopher
a18112767d
added intro section with quadrant name
2023-03-01 19:51:50 +13:00
Christopher
efba942396
renamed text_display to view, and moved srs into it
2023-03-01 19:07:46 +13:00
Christopher
ec3b0697bb
moved blobs of text into text_display mod
2023-03-01 19:05:38 +13:00
Christopher
1732d95032
added proper help
2023-03-01 15:41:00 +13:00
Christopher
b56819aadf
implemented taking damage and dying
2023-03-01 15:36:42 +13:00
Christopher
4b326547e4
added a tasks tracking doc
2023-03-01 11:53:19 +13:00
Christopher
60f0492c28
displaying stats properly aligned next to scan
2023-03-01 11:43:58 +13:00
Christopher
c23449fac3
just reorged some code
2023-03-01 09:44:14 +13:00
Christopher
bc4470999c
bug fix - used sector instead of quadrant as index in srs
2023-03-01 09:42:44 +13:00
Christopher
09cb10eeb7
added some unit tests for movement
2023-03-01 09:39:08 +13:00
Christopher
ab26776d61
moved nav function bulk to commands module
2023-03-01 09:16:00 +13:00
Christopher
80ac05e005
semi working nav (going weird directions)
2023-03-01 08:54:39 +13:00
Christopher
615438a267
more work on nav, almost done basics!
2023-03-01 08:29:47 +13:00
Christopher
183ec6fde3
added a note on how to calculate
2023-02-28 20:19:54 +13:00
Christopher
7c8c420d44
work on nav command under new model
2023-02-28 20:15:46 +13:00
Christopher
8903e77d83
reduced down to command and response (collapsed MVU)
2023-02-28 19:45:54 +13:00
Christopher
31b9834a7c
work on nav command
...
this involves architectural shifts
2023-02-28 13:53:38 +13:00
Christopher
c35736c5c8
enterprise now starts in a random quadrant and empty sector
2023-02-28 13:28:08 +13:00
Christopher
92b4d60e84
work aligning with mvu, along with a render quadrant view function
2023-02-28 12:36:29 +13:00
Christopher
c4b8da053b
started work on a rust implementation of super star trek
2023-02-28 11:37:54 +13:00
Marc Wilson
007b38751d
add try/except to computer prompt, invalid input should not crash game
2022-09-03 09:38:19 -07:00
Aldrin Misquitta
ed2e2be6ac
Fix typo in 84_Super_Star_Trek/README.md ( #780 )
...
Fixes #779
2022-07-24 07:35:09 +02:00
Alexander Wunschik
e97820ae11
do not interprete mjs files from 84 as node-scripts
2022-04-02 11:38:08 +02:00
Martin Thoma
3a63978d0e
Super Star Trek (Python): Introduce OOP
...
* Avoid encoding values in int; use tuples instead (the memory overhead
is OK today)
* Avoid encoding values in str, use lists instead (same story)
* Use variable names that speak for themselves
* Fix typo (NAVAGATION)
2022-04-01 17:04:14 +02:00
Martin Thoma
9972ee4073
Super Star Trek (Python): Refactoring
...
* Add 'Ship' class to group code / avoid some global variables /
avoid passing so many parameters around
* Use docstrings
2022-03-31 22:41:16 +02:00
Martin Thoma
d511a22b5e
Annotate superstartrek
2022-03-31 10:41:30 +02:00
Martin Thoma
17a75813b1
Remove tests and alternative Python implementations
...
Ad discussed here:
https://github.com/coding-horror/basic-computer-games/issues/548#issuecomment-1081008471
2022-03-29 07:02:10 +02:00