Commit Graph

38 Commits

Author SHA1 Message Date
Guido Knips
7a62098e94 Un-ignore Cargo.lock
Official cargo documentation says Cargo.lock should be
under version control for binaries (but not for libraries)

see https://doc.rust-lang.org/cargo/faq.html#why-do-binaries-have-cargolock-in-version-control-but-not-libraries
2023-08-28 21:06:35 +02:00
Uğur Küpeli
6ac6ed36ef Final 2022-05-05 00:22:30 +03:00
Uğur Küpeli
048afbb0e8 lose messages done 2022-05-04 21:29:06 +03:00
Uğur Küpeli
d48c9edcd4 game loop done
todo:
- write/read to/from saved games
- win & lose messages
2022-05-04 21:06:15 +03:00
Uğur Küpeli
f286e3391b intro done
game intro:
asking or generating random terminal velocity and celestial body acceleration.
2022-05-04 19:05:32 +03:00
Martin Thoma
ac184fec42 Python: Type annotations 2022-04-02 10:56:43 +02:00
Martin Thoma
1b1d50986b Python: Add type annotations to all 'print' functions (#662)
* Add test to superstartrek and fixes several issues in superstartrek - I probably introduced them 🙈
* Mastermind type annotations
2022-03-21 10:41:14 +01:00
Martin Thoma
83b3dc402c Python: Add type annotations 2022-03-20 19:16:39 +01:00
Martin Thoma
8495e59a8f Python: Make code testable
Avoid executing code on module level as this prevents importing the
module for testing. Especially infinite loops are evil.
2022-03-19 09:54:52 +01:00
Jeff Atwood
f40a1fc465 add Porting Notes to readme.md for each game 2022-03-18 19:50:22 -07:00
Jeff Atwood
6f6ac93d1f Merge pull request #633 from mojoaxel/js-terminal-style
Add "nice" terminal style stylesheet for javascript html
2022-03-15 23:50:18 -05:00
Jeff Atwood
43f2ec013a add 00_Alternate_Langage folder and move alternate ports there 2022-03-15 20:49:07 -07:00
Alexander Wunschik
f2b3d6f2ed add terminal-stylesheet for javascript html 2022-03-13 11:23:05 +01:00
Martin Thoma
e64fb6795c MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be
many adjustments necessary
2022-03-05 09:29:23 +01:00
roygilliam
ea190fda33 Initial conversion to C# 2022-02-06 19:30:59 -05:00
Zev Spitz
75def2707d Add sln and csroj/vbproj files where missing 2022-01-16 08:17:31 +02:00
Tom Wyant
016ad4f825 Clean up dead code left over from cut-and-paste development. 2022-01-07 10:49:49 -05:00
Tom Wyant
74326a5c08 Port of 81_Splat to Perl.
Pretty much a straight port -- just straightened out the spaghetti in
the original BASIC.
2022-01-07 07:07:33 -05:00
jason
56ccff2d55 improve input handling of numeric values 2022-01-05 19:48:19 -08:00
jason
3c185d1c8c remove unnecessary leftover check 2022-01-05 00:15:05 -08:00
jason
18b37bda81 add top comment copied from readme (includes attribution) and reorganize methods for readability. 2022-01-05 00:12:43 -08:00
jason
11dba9dd92 debrand 2022-01-05 00:04:24 -08:00
jason
9cc332f568 grammar nit 2022-01-05 00:00:03 -08:00
jason
5229754851 fix problem with holding count after add and fix up some visiblity for simplicity 2022-01-04 23:59:26 -08:00
jason
8e98439f35 simplify handling of past successes 2022-01-04 23:49:31 -08:00
jason
98b4e94719 factor out result message display and clean up ordinal switch 2022-01-04 23:14:58 -08:00
jason
347558b966 factor out JumpResult and executeJump() 2022-01-04 22:53:32 -08:00
jason
42f57024fe factor out silly play again prompt 2022-01-04 22:31:51 -08:00
jason
dd0dbf6480 simplify splat message 2022-01-04 22:10:44 -08:00
jason
8a992b6ba4 invert if and factor out splat message 2022-01-04 22:07:32 -08:00
jason
eba6c07fd0 factor out initial jump conditions 2022-01-04 22:05:24 -08:00
jason
c3a1b621b9 factor out intro and prompt messages 2022-01-04 21:32:56 -08:00
jason
9fba41771c plug in yesno prompt for acceleration 2022-01-04 21:24:01 -08:00
jason
22213547fc factor out askYesNo 2022-01-04 21:22:11 -08:00
jason
b899d6d5c5 factor out planet enum 2022-01-04 21:14:36 -08:00
jason
f2e7381878 first very ugly port. 2022-01-04 20:44:47 -08:00
LukasMurdock
76c5e1e995 add 17-96 2022-01-03 02:13:21 -05:00
Chris Reuter
d26dbf036a Removed spaces from top-level directory names.
Spaces tend to cause annoyances in a Unix-style shell environment.
This change fixes that.
2021-11-21 18:30:21 -05:00