Commit Graph

2119 Commits

Author SHA1 Message Date
Joe Nellis
5ff1717a53 Unfixes the fix introduced in a previous commit regarding how the computer deduces the answer. ReadMe updated with a thorough explanation of the deduction process. 2022-04-08 21:59:14 -07:00
Joseph Nellis
603efe0d7d Merge branch 'coding-horror:main' into main 2022-04-08 14:06:56 -07:00
Joe Nellis
b30fa59880 Mastermind port in java. 2022-04-08 14:05:39 -07:00
Jay
d50f726f89 rust version for 54_Letter (#712)
* rust translation for 54_Letter

* rust translation 54_Letter
2022-04-08 15:21:39 +02:00
Jeff Atwood
5acc1ffdea Merge pull request #705 from jwbruce/main
Initial rust port for 82_Stars
2022-04-07 16:08:22 -05:00
jwbruce
1545890237 Merge branch 'main' of https://github.com/coding-horror/basic-computer-games into main 2022-04-07 12:54:56 -05:00
jwbruce
ce8e2068d4 Added more details to README.md under 82_Stars/rust 2022-04-06 18:20:32 -05:00
jwbruce
305265b5ca added the initial rust port for STARS in 82_Stars 2022-04-06 18:19:24 -05:00
Jeff Atwood
3e27c70ca8 Merge pull request #702 from arjieng/main
Orbit game in ruby
2022-04-03 23:47:47 -05:00
Martin Thoma
9eea8403cc DOC: Update TODO.md 2022-04-04 06:46:05 +02:00
Argie Bacomo
a00fbc0374 Orbit game in ruby 2022-04-04 10:37:16 +08:00
Jeff Atwood
559a362e7a Merge pull request #701 from coding-horror/king-py
King (Python): Implemented
2022-04-03 18:11:41 -05:00
Martin Thoma
db63ac63a5 King (Python): Implemented 2022-04-03 14:58:33 +02:00
Jeff Atwood
60029f738e Merge pull request #698 from coding-horror/py-simplify
Simplify Python Code
2022-04-02 14:13:45 -05:00
Jeff Atwood
861ff22ed7 Merge pull request #687 from coding-horror/74-html-terminal
javascript node.js scripts
2022-04-02 14:11:47 -05:00
Alexander Wunschik
a510d33ce3 fix terminal emulator index link 2022-04-02 14:48:20 +02:00
Alexander Wunschik
50fedb26ec implement 96_Word as node.js script 2022-04-02 14:42:34 +02:00
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