super-star-trek.git
15 months agoExclude curses code from coverage testing.
Eric S. Raymond [Wed, 16 Aug 2023 11:27:28 +0000 (07:27 -0400)]
Exclude curses code from coverage testing.

15 months agoRemove locale code not needed under Python 3.
Eric S. Raymond [Wed, 16 Aug 2023 10:05:43 +0000 (06:05 -0400)]
Remove locale code not needed under Python 3.

15 months agoAdd more tests to fill coverage gaps.
Eric S. Raymond [Wed, 16 Aug 2023 10:01:09 +0000 (06:01 -0400)]
Add more tests to fill coverage gaps.

15 months agoFix code so collisions can actually happen.
Eric S. Raymond [Wed, 16 Aug 2023 09:59:12 +0000 (05:59 -0400)]
Fix code so collisions can actually happen.

15 months agoSet up for coverage testing.
Eric S. Raymond [Wed, 16 Aug 2023 08:59:26 +0000 (04:59 -0400)]
Set up for coverage testing.

15 months agoComment and message polishing.
Eric S. Raymond [Tue, 15 Aug 2023 18:34:36 +0000 (14:34 -0400)]
Comment and message polishing.

15 months agoEliminated duplicate import.
Eric S. Raymond [Tue, 15 Aug 2023 10:10:19 +0000 (06:10 -0400)]
Eliminated duplicate import.

15 months agoFix parsing of new-style coordinates with x=10.
Eric S. Raymond [Tue, 15 Aug 2023 10:08:35 +0000 (06:08 -0400)]
Fix parsing of new-style coordinates with x=10.

15 months agoAdd self-destruct test.
Eric S. Raymond [Tue, 15 Aug 2023 09:57:05 +0000 (05:57 -0400)]
Add self-destruct test.

15 months agoAdd test of plain interface and od-fashioned coordinates.
Eric S. Raymond [Tue, 15 Aug 2023 08:46:15 +0000 (04:46 -0400)]
Add test of plain interface and od-fashioned coordinates.

15 months agoImplement alphameric Y coordinates.
Eric S. Raymond [Mon, 14 Aug 2023 16:56:07 +0000 (12:56 -0400)]
Implement alphameric Y coordinates.

15 months agoEliminate play-again prompt in curses mode.
Eric S. Raymond [Mon, 14 Aug 2023 10:46:29 +0000 (06:46 -0400)]
Eliminate play-again prompt in curses mode.

15 months agoDropping out Python 2 support.
Eric S. Raymond [Mon, 14 Aug 2023 10:29:08 +0000 (06:29 -0400)]
Dropping out Python 2 support.

15 months agoCease testing with Python 2.
Eric S. Raymond [Mon, 14 Aug 2023 10:23:37 +0000 (06:23 -0400)]
Cease testing with Python 2.

15 months agoAvoid potential collision between the new "options" command...
Eric S. Raymond [Mon, 14 Aug 2023 09:48:07 +0000 (05:48 -0400)]
Avoid potential collision between the new "options" command...

...and argument-setting in replays.

15 months agoRemove debris from test comment.
Eric S. Raymond [Mon, 14 Aug 2023 09:03:22 +0000 (05:03 -0400)]
Remove debris from test comment.

15 months agoFix test makefiile glitch.
Eric S. Raymond [Mon, 14 Aug 2023 08:50:19 +0000 (04:50 -0400)]
Fix test makefiile glitch.

15 months agoUpdate tapdiffer.
Eric S. Raymond [Mon, 14 Aug 2023 08:08:17 +0000 (04:08 -0400)]
Update tapdiffer.

15 months agoAdded options command, fixed some tests to be insensitive...
Eric S. Raymond [Mon, 14 Aug 2023 01:59:17 +0000 (21:59 -0400)]
Added options command, fixed some tests to be insensitive...

...to the command list.

15 months agoUpdate tapview.
Eric S. Raymond [Sun, 13 Aug 2023 16:55:14 +0000 (12:55 -0400)]
Update tapview.

15 months agoTypo fix.
Eric S. Raymond [Sun, 13 Aug 2023 12:35:50 +0000 (08:35 -0400)]
Typo fix.

15 months agoRefactor - use getcoord() in course setting.
Eric S. Raymond [Sun, 13 Aug 2023 09:40:39 +0000 (05:40 -0400)]
Refactor - use getcoord() in course setting.

15 months agoEnsure that replau will work in the world after Python 2.
Eric S. Raymond [Sat, 12 Aug 2023 10:19:11 +0000 (06:19 -0400)]
Ensure that replau will work in the world after Python 2.

15 months agoImproved clean production.
Eric S. Raymond [Sat, 12 Aug 2023 10:14:07 +0000 (06:14 -0400)]
Improved clean production.

15 months agoe-conorm to the documentation by removing the .py estension from sst.
Eric S. Raymond [Sat, 12 Aug 2023 10:11:21 +0000 (06:11 -0400)]
e-conorm to the documentation by removing the .py estension from sst.

15 months agoRestore timeout test.
Eric S. Raymond [Sat, 12 Aug 2023 10:03:13 +0000 (06:03 -0400)]
Restore timeout test.

15 months agoReinstate test of game-win logic.
Eric S. Raymond [Sat, 12 Aug 2023 09:56:33 +0000 (05:56 -0400)]
Reinstate test of game-win logic.

15 months agoRestore test of supercommander destruction.
Eric S. Raymond [Sat, 12 Aug 2023 08:55:37 +0000 (04:55 -0400)]
Restore test of supercommander destruction.

15 months agoFix minor bug when enemy is buffeted into black hole
Eric S. Raymond [Fri, 11 Aug 2023 21:05:54 +0000 (17:05 -0400)]
Fix minor bug when enemy is buffeted into black hole

15 months agoNEWS update.
Eric S. Raymond [Fri, 11 Aug 2023 19:55:37 +0000 (15:55 -0400)]
NEWS update.

15 months agoRestore testing of Tholian behavior
Eric S. Raymond [Fri, 11 Aug 2023 19:15:17 +0000 (15:15 -0400)]
Restore testing of Tholian behavior

15 months agoRestore the dilithium-mining test
Eric S. Raymond [Fri, 11 Aug 2023 18:45:14 +0000 (14:45 -0400)]
Restore the dilithium-mining test

15 months agoTest command destruction and supernova alert
Eric S. Raymond [Fri, 11 Aug 2023 17:35:29 +0000 (13:35 -0400)]
Test command destruction and supernova alert

15 months agoRestore deep-space-probw test.
Eric S. Raymond [Fri, 11 Aug 2023 17:04:03 +0000 (13:04 -0400)]
Restore deep-space-probw test.

Battle-death test is in test13.

15 months agoAdd separate test for malformed torpedo command...
Eric S. Raymond [Fri, 11 Aug 2023 15:58:10 +0000 (11:58 -0400)]
Add separate test for malformed torpedo command...

...which obsoletes the rest of the old test04.

15 months agoInclude fulll fqdn in log header.
Eric S. Raymond [Fri, 11 Aug 2023 15:33:03 +0000 (11:33 -0400)]
Include fulll fqdn in log header.

15 months agoAdd test of Romulan encounter.
Eric S. Raymond [Fri, 11 Aug 2023 15:12:11 +0000 (11:12 -0400)]
Add test of Romulan encounter.

15 months agoAdd test of death by black hole.
Eric S. Raymond [Fri, 11 Aug 2023 14:58:48 +0000 (10:58 -0400)]
Add test of death by black hole.

15 months agoNew test of planet and starbase destructuib, made from old test04.
Eric S. Raymond [Fri, 11 Aug 2023 14:43:37 +0000 (10:43 -0400)]
New test of planet and starbase destructuib, made from old test04.

15 months agoFix enemy displacement ob torpedo hit.
Eric S. Raymond [Fri, 11 Aug 2023 14:32:26 +0000 (10:32 -0400)]
Fix enemy displacement ob torpedo hit.

This breaks abnout half the tests. We move these out of
the way so as not to break bisection testing; they'll be
fixed in future commits.

15 months agoTerminate some tests more gracefully.
Eric S. Raymond [Fri, 11 Aug 2023 14:03:07 +0000 (10:03 -0400)]
Terminate some tests more gracefully.

15 months agoImproved internal sanity checking.
Eric S. Raymond [Fri, 11 Aug 2023 13:34:08 +0000 (09:34 -0400)]
Improved internal sanity checking.

15 months agoTypo fix patch.
Eric S. Raymond [Fri, 11 Aug 2023 00:53:30 +0000 (20:53 -0400)]
Typo fix patch.

21 months agoIncorporate tapview
Eric S. Raymond [Fri, 10 Feb 2023 01:10:23 +0000 (20:10 -0500)]
Incorporate tapview

21 months agoAttempt at setting up ci.
Eric S. Raymond [Fri, 10 Feb 2023 01:05:09 +0000 (20:05 -0500)]
Attempt at setting up ci.

21 months agoPylint cleanup.
Eric S. Raymond [Fri, 10 Feb 2023 00:55:07 +0000 (19:55 -0500)]
Pylint cleanup.

2 years agoTypo fix.
Eric S. Raymond [Wed, 13 Apr 2022 02:57:53 +0000 (22:57 -0400)]
Typo fix.

2 years agoQuet down pylint.
Eric S. Raymond [Tue, 25 Jan 2022 21:08:37 +0000 (16:08 -0500)]
Quet down pylint.

2 years agoUse magic-comment pylint suppressions.
Eric S. Raymond [Mon, 24 Jan 2022 03:27:10 +0000 (22:27 -0500)]
Use magic-comment pylint suppressions.

3 years agoReady to ship 2.7. 2.7
Eric S. Raymond [Mon, 20 Sep 2021 18:08:47 +0000 (14:08 -0400)]
Ready to ship 2.7.

3 years agoUbuntu has abolished /usr/bin/python, change shebang to python3.
Eric S. Raymond [Mon, 20 Sep 2021 18:07:29 +0000 (14:07 -0400)]
Ubuntu has abolished /usr/bin/python, change shebang to python3.

3 years agoReady to ship 2.6. 2.6
Eric S. Raymond [Fri, 16 Apr 2021 20:54:22 +0000 (16:54 -0400)]
Ready to ship 2.6.

3 years agoRun pylint on check.
Eric S. Raymond [Fri, 16 Apr 2021 21:05:04 +0000 (17:05 -0400)]
Run pylint on check.

3 years agopylint cleanup - found an actual bug this time!
Eric S. Raymond [Fri, 16 Apr 2021 21:01:41 +0000 (17:01 -0400)]
pylint cleanup - found an actual bug this time!

3 years agoTAP explanation and NEWS update.
Eric S. Raymond [Fri, 16 Apr 2021 20:52:29 +0000 (16:52 -0400)]
TAP explanation and NEWS update.

3 years agoTAPify the test suite. 4/merge
Eric S. Raymond [Fri, 16 Apr 2021 19:11:56 +0000 (15:11 -0400)]
TAPify the test suite.

5 years agofix: remove byte/string python3 incompatibility 3/head
Frank Uhlig [Sat, 18 May 2019 20:34:24 +0000 (22:34 +0200)]
fix: remove byte/string python3 incompatibility

5 years agoMore regression tests.
Eric S. Raymond [Fri, 26 Apr 2019 15:33:00 +0000 (11:33 -0400)]
More regression tests.

5 years agoBe a bit more colorful.
Eric S. Raymond [Fri, 26 Apr 2019 01:00:00 +0000 (21:00 -0400)]
Be a bit more colorful.

5 years agopylint cleanup.
Eric S. Raymond [Thu, 25 Apr 2019 21:54:35 +0000 (17:54 -0400)]
pylint cleanup.

5 years agoTypo fix.
Eric S. Raymond [Thu, 25 Apr 2019 21:31:26 +0000 (17:31 -0400)]
Typo fix.

5 years agoDocument an interface fix.
Eric S. Raymond [Thu, 25 Apr 2019 20:16:32 +0000 (16:16 -0400)]
Document an interface fix.

5 years agoFix ditfill glitch, and add an option to control it.
Eric S. Raymond [Thu, 25 Apr 2019 19:12:14 +0000 (15:12 -0400)]
Fix ditfill glitch, and add an option to control it.

5 years agoAdd another regression test.
Eric S. Raymond [Thu, 25 Apr 2019 17:29:46 +0000 (13:29 -0400)]
Add another regression test.

5 years agoAdd another regression test.
Eric S. Raymond [Thu, 25 Apr 2019 15:14:31 +0000 (11:14 -0400)]
Add another regression test.

5 years agoTest that code is well-behaved when we escape a Tholian.
Eric S. Raymond [Thu, 25 Apr 2019 14:07:00 +0000 (10:07 -0400)]
Test that code is well-behaved when we escape a Tholian.

5 years agoIf we escape a quadeant with a Tholian, off him so he can reappear.
Eric S. Raymond [Thu, 25 Apr 2019 14:03:15 +0000 (10:03 -0400)]
If we escape a quadeant with a Tholian, off him so he can reappear.

5 years agoBSD friendliness.
Eric S. Raymond [Wed, 24 Apr 2019 19:30:40 +0000 (15:30 -0400)]
BSD friendliness.

5 years agoReady to ship 2.5. 2.5
Eric S. Raymond [Wed, 24 Apr 2019 18:45:18 +0000 (14:45 -0400)]
Ready to ship 2.5.

5 years agoAddsde more regression tests.
Eric S. Raymond [Wed, 24 Apr 2019 18:42:16 +0000 (14:42 -0400)]
Addsde more regression tests.

5 years agoAnother test load.
Eric S. Raymond [Wed, 24 Apr 2019 18:36:53 +0000 (14:36 -0400)]
Another test load.

5 years agoPython 3 port fix.
Eric S. Raymond [Wed, 24 Apr 2019 16:56:52 +0000 (12:56 -0400)]
Python 3 port fix.

5 years agoTypo fix.
Eric S. Raymond [Wed, 24 Apr 2019 16:54:09 +0000 (12:54 -0400)]
Typo fix.

5 years agoAnother regression test.
Eric S. Raymond [Wed, 24 Apr 2019 16:47:34 +0000 (12:47 -0400)]
Another regression test.

5 years agoAdd another test.
Eric S. Raymond [Wed, 24 Apr 2019 16:44:49 +0000 (12:44 -0400)]
Add another test.

5 years agoClean up some announcemrnt emissions.
Eric S. Raymond [Wed, 24 Apr 2019 16:31:18 +0000 (12:31 -0400)]
Clean up some announcemrnt emissions.

5 years agoTests needed a rebuild following breadcrumb removal.
Eric S. Raymond [Wed, 24 Apr 2019 16:21:52 +0000 (12:21 -0400)]
Tests needed a rebuild following breadcrumb removal.

5 years agoBreadcrumb removal.
Eric S. Raymond [Wed, 24 Apr 2019 16:20:02 +0000 (12:20 -0400)]
Breadcrumb removal.

5 years agoForward pror to Python achieved, still runs under 2.
Eric S. Raymond [Wed, 24 Apr 2019 15:56:13 +0000 (11:56 -0400)]
Forward pror to Python achieved, still runs under 2.

5 years agoNew tests are working well eniugh that we can flush the old ones.
Eric S. Raymond [Wed, 24 Apr 2019 15:47:58 +0000 (11:47 -0400)]
New tests are working well eniugh that we can flush the old ones.

5 years agoAdd another regression test.
Eric S. Raymond [Wed, 24 Apr 2019 15:46:44 +0000 (11:46 -0400)]
Add another regression test.

5 years agoHandle ill-formed torp commands better.
Eric S. Raymond [Wed, 24 Apr 2019 15:19:53 +0000 (11:19 -0400)]
Handle ill-formed torp commands better.

5 years agoPrevent hang on ill-formed torpedo command.
Eric S. Raymond [Wed, 24 Apr 2019 15:02:43 +0000 (11:02 -0400)]
Prevent hang on ill-formed torpedo command.

5 years agoBeginning of new test series for portable LCG.
Eric S. Raymond [Wed, 24 Apr 2019 14:12:11 +0000 (10:12 -0400)]
Beginning of new test series for portable LCG.

5 years agoThe sgn correction again.
Eric S. Raymond [Wed, 24 Apr 2019 13:48:25 +0000 (09:48 -0400)]
The sgn correction again.

5 years agoPortable LCG in place - grr, Python's random changed incompaibly in 3.2.
Eric S. Raymond [Wed, 24 Apr 2019 05:26:38 +0000 (01:26 -0400)]
Portable LCG in place - grr, Python's random changed incompaibly in 3.2.

5 years agoCorrect sgn().
Eric S. Raymond [Wed, 24 Apr 2019 13:30:58 +0000 (09:30 -0400)]
Correct sgn().

5 years agoExplanatory comment.
Eric S. Raymond [Tue, 23 Apr 2019 22:02:15 +0000 (18:02 -0400)]
Explanatory comment.

5 years agoAvotd crash due to bad array indexing.
Eric S. Raymond [Tue, 23 Apr 2019 21:59:31 +0000 (17:59 -0400)]
Avotd crash due to bad array indexing.

5 years agoName changes.
Eric S. Raymond [Tue, 23 Apr 2019 09:34:57 +0000 (05:34 -0400)]
Name changes.

5 years agoMore carefulness about integer division.
Eric S. Raymond [Tue, 23 Apr 2019 09:05:30 +0000 (05:05 -0400)]
More carefulness about integer division.

5 years agoRemove remnants of C syntax.
Eric S. Raymond [Mon, 22 Apr 2019 23:30:37 +0000 (19:30 -0400)]
Remove remnants of C syntax.

5 years agoRemove a bit of logging that is now unnecessary.
Eric S. Raymond [Mon, 22 Apr 2019 20:14:16 +0000 (16:14 -0400)]
Remove a bit of logging that is now unnecessary.

5 years agoAdd logging for ramdom-number calls
Eric S. Raymond [Mon, 22 Apr 2019 20:09:56 +0000 (16:09 -0400)]
Add logging for ramdom-number calls

5 years agoRefactor random-number generation.
Eric S. Raymond [Mon, 22 Apr 2019 19:15:42 +0000 (15:15 -0400)]
Refactor random-number generation.

5 years agoRefactor: isolate RNG stuff in one spot.
Eric S. Raymond [Mon, 22 Apr 2019 18:27:24 +0000 (14:27 -0400)]
Refactor: isolate RNG stuff in one spot.

5 years agopychecker seems no longer useful.
Eric S. Raymond [Mon, 22 Apr 2019 10:03:16 +0000 (06:03 -0400)]
pychecker seems no longer useful.

5 years agoReady to ship 2.4. 2.4
Eric S. Raymond [Mon, 22 Apr 2019 09:08:41 +0000 (05:08 -0400)]
Ready to ship 2.4.

5 years agopylint cleanup
Eric S. Raymond [Mon, 22 Apr 2019 09:46:59 +0000 (05:46 -0400)]
pylint cleanup

5 years agoDocument code fragility.
Eric S. Raymond [Mon, 22 Apr 2019 09:00:05 +0000 (05:00 -0400)]
Document code fragility.