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
Jadi
82c81afaed
Adding 20_Buzzword in Rust
2023-08-02 12:43:58 +03:30
BrianWilkinsFL
6777105e01
Initial Buzzword Lua Script
2022-05-30 13:23:21 -04: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
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
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
af88007734
Python: Fix Flake8 E722 and E741
...
Additionally:
* Use functions to group blocks of code
* Use variable names (not just one character...)
2022-03-12 08:17:03 +01:00
Martin Thoma
e7520d62af
MAINT: Apply 'pre-commit run --all' and fix issues
2022-03-10 06:59:21 +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
Zev Spitz
75def2707d
Add sln and csroj/vbproj files where missing
2022-01-16 08:17:31 +02:00
Brax Antti (Oy Samlink Ab)
c8633c6051
Convert 20_Buzzword to Java
...
Provide the output PrintStream dependency to UserInterface in the
constructor instead of have it hard coded to System.out.
2022-01-12 14:33:55 +02:00
Brax Antti (Oy Samlink Ab)
3e9f1354b3
Convert 20_Buzzword to Java
...
The original version was a straight forward monolithic BASIC-to-Java
conversion. Updated to use common Java coding conventions.
- Split the single static main method into classes. The static part
only contains the bootstrap code for the game.
- Split the word list into three arrays so that there is no need to
use error-prone calculations when choosing the random words.
- Placed the Scanner in a try-with-resources block to ensure that the
scanner gets closed when it is no longer needed.
2022-01-12 14:26:18 +02:00
LukasMurdock
76c5e1e995
add 17-96
2022-01-03 02:13:21 -05:00
Piotr Czajkowski
520efaa20a
Maybe staying too close to original wasn't so good
2022-01-01 17:12:13 +01:00
Piotr Czajkowski
8cf778cb87
Comment changed
2022-01-01 14:18:25 +01:00
Piotr Czajkowski
b1242d081c
Better?
2022-01-01 14:14:31 +01:00
Piotr Czajkowski
e23e9f6a9a
Spelling
2022-01-01 13:39:03 +01:00
Piotr Czajkowski
aceddf559e
Added more comments, some cosmetic changes
2022-01-01 13:28:38 +01:00
Piotr Czajkowski
cf65935615
After modifying indexes modulo isn't needed, it appears
2022-01-01 13:17:35 +01:00
Piotr Czajkowski
a1fd52ebfd
Modified seed, added some comments
2022-01-01 13:16:01 +01:00
Piotr Czajkowski
e9cc632c7b
Better keyboard, cosmetics
2022-01-01 12:15:13 +01:00
Piotr Czajkowski
62645703d1
Starting sentence from capital letter
2022-01-01 12:05:19 +01:00
Piotr Czajkowski
ff67d7705a
Added GeneratePhrase
2022-01-01 11:59:28 +01:00
Piotr Czajkowski
2a6dc209c8
Added Instructions
2022-01-01 11:17:05 +01:00
Piotr Czajkowski
7318b0b5d5
Added header
2022-01-01 11:12:12 +01: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