Alexander Wunschik
dc8bb273cd
fix html terminal to support linebreaks inside lines
2022-04-02 14:37:48 +02:00
Martin Thoma
f1bc9d8551
Civil War (Python): Fix variable names
2022-04-02 14:24:03 +02:00
Alexander Wunschik
e97820ae11
do not interprete mjs files from 84 as node-scripts
2022-04-02 11:38:08 +02:00
Alexander Wunschik
306e420869
[javascript] terminal emulator: max width 60em
2022-04-02 11:38:08 +02:00
Alexander Wunschik
7b0fc56b0d
[javascript] 57 litquiz: use common functions
2022-04-02 11:38:08 +02:00
Alexander Wunschik
2d7a1b2a36
show terminal header with link to sources
2022-04-02 11:38:08 +02:00
Martin Thoma
e17388d072
Use NamedTuple; Fix camelCase->snake_case
2022-04-02 11:22:40 +02:00
Martin Thoma
ac184fec42
Python: Type annotations
2022-04-02 10:56:43 +02:00
Martin Thoma
c8f86531e9
Poetry (python): Remove globals
2022-04-02 09:41:38 +02:00
Martin Thoma
a561322962
Python: Add type annotations
2022-04-02 09:30:56 +02:00
Martin Thoma
624c55711c
One Check (Python): Fix bug
2022-04-02 09:29:31 +02:00
Martin Thoma
dae338c236
Civil War (Python): Fix bug + type annotations
2022-04-02 09:16:11 +02:00
Martin Thoma
68cfd1c751
Python: Add types / fix type issues
2022-04-02 09:12:13 +02:00
Martin Thoma
71bae5ded3
Evenwins (Python): Refactored
2022-04-02 09:01:47 +02:00
Martin Thoma
8b0bd1ad65
Remove unnecessary empty strings
2022-04-02 08:33:54 +02:00
Martin Thoma
a2645f97f6
Fix broken shebang
2022-04-02 08:33:31 +02:00
Martin Thoma
76802c10b1
Mugwump (Python): Add types
2022-04-02 08:26:40 +02:00
Martin Thoma
88fcd0b460
BUG: Fur Trader (Python) didn't handle error case correctly
2022-04-02 08:23:02 +02:00
Martin Thoma
4b3b991273
Use docstrings
2022-04-02 08:10:01 +02:00
Martin Thoma
c500424956
Simplify Python Code
...
print_with_tab / print_with_whitespace is trivial with Python
string formatting and was mostly used in only 2 lines.
2022-04-02 07:32:09 +02:00
Jeff Atwood
354c1f9ab3
Merge pull request #697 from Jay-0331/main
...
rust conversion of stars
2022-04-01 12:46:56 -05:00
Jeff Atwood
7224c4b80c
Merge pull request #696 from coding-horror/py-super-star-trek-oop
...
Super Star Trek (Python): Introduce OOP
2022-04-01 12:41:35 -05: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
jay-0331
34baeeccce
rust conversion of stars
2022-04-01 17:25:39 +05:30
Jeff Atwood
518b0e9905
Merge pull request #695 from coding-horror/py-super-star-trek
...
Super Star Trek (Python): Refactoring
2022-03-31 15:53:17 -05: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
Jeff Atwood
2a0d5d74cd
Merge pull request #694 from coding-horror/py-type-annotations
...
BUG: Hangman (Python) had a List-vs-Str comparison
2022-03-31 13:13:37 -05:00
Jeff Atwood
592a6cfd02
Merge pull request #693 from Jay-0331/patch-1
...
Update for how to run rust translation game
2022-03-31 13:12:17 -05:00
Martin Thoma
61b5a222d1
Lunar (Python): Add type annotations
2022-03-31 12:14:17 +02:00
Martin Thoma
5fef3888eb
Hexapawn (Python): Add type annotations
2022-03-31 12:01:14 +02:00
Martin Thoma
d511a22b5e
Annotate superstartrek
2022-03-31 10:41:30 +02:00
Martin Thoma
ae0b6a5015
BUG: Hangman (Python) had a List-vs-Str comparison
...
MAINT: Add type annotations to find such issues
2022-03-31 10:33:11 +02:00
Jay-0331
6799608a85
Update for how to run rust translation game
...
Hope it is good enough.
2022-03-31 12:06:44 +05:30
Jeff Atwood
b31c624703
Merge pull request #692 from Jay-0331/add-rust-hilo
...
Added Rust Conversion of Hi-Lo
2022-03-30 13:00:14 -05:00
Jeff Atwood
8012d883f2
Merge pull request #691 from coding-horror/acey_ducey_oo.py
...
Restore acey_ducey_oo.py
2022-03-30 12:42:22 -05:00
jay-0331
bd75edba47
Added Rust Conversion of Hi-Lo
2022-03-30 12:31:19 +05:30
Martin Thoma
84bb11eec4
Restore acey_ducey_oo.py
...
See https://github.com/coding-horror/basic-computer-games/pull/689#pullrequestreview-925162345
2022-03-30 08:24:18 +02:00
Jeff Atwood
6c32fc1a3d
Merge pull request #688 from AlaaSarhan/main
...
Blackjack in Ruby
2022-03-29 15:10:54 -05:00
Jeff Atwood
08ddffe2d5
Merge pull request #689 from coding-horror/one-file-rule
...
Remove tests and alternative Python implementations
2022-03-29 15:10:33 -05:00
Alaa Sarhan
3130a3d74d
implement insurance bets
2022-03-29 21:29:00 +02:00
Alaa Sarhan
f3399cd34b
test and fix splitting
2022-03-29 20:54:42 +02:00
Jay-0331
6c4af6b6d5
Hi-Lo (JavaScript): Accept 'yes' in any capitalization ( #690 )
2022-03-29 17:16:34 +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
Alaa Sarhan
b38cf0018a
add initial implementation
2022-03-29 00:31:45 +02:00
Jeff Atwood
6f9cb1bac2
add new rules: no IDE/BUILD and no "enterprise" features
2022-03-28 11:28:21 -07:00
Martin Thoma
d4a1679094
Delete buildJvm directory
...
As discussed here:
https://github.com/coding-horror/basic-computer-games/issues/681#issuecomment-1079728309
2022-03-28 09:43:36 +02:00
Jeff Atwood
8611022bde
Merge pull request #685 from roygilliam/main
...
Initial C# conversion
2022-03-27 19:08:06 -05:00
roygilliam
25e76a3b58
Initial C# conversion
2022-03-26 19:24:17 -04:00
Jeff Atwood
f41c737529
Merge pull request #684 from coding-horror/py-bullseye
...
Bullseye (Python): Refactoring
2022-03-26 11:34:12 -05:00
Martin Thoma
f7bf099152
Bullseye (Python): Refactoring
...
* Use functions to structure code
* Remove 1-line function
* Use dataclass
* Replace dictionaries by a list
2022-03-26 07:05:40 +01:00