36 Commits

Author SHA1 Message Date
marquesrs
7e35a798d2 reverse game initial rust implementation 2025-03-04 14:18:11 -03:00
marquesrs
dce839e4ce reverse game initial rust implementation 2025-03-04 12:01:23 -03:00
Sourcery AI
71d02673a9 'Refactored by Sourcery' 2024-08-19 03:46:27 +03:00
Martin Thoma
ac184fec42 Python: Type annotations 2022-04-02 10:56:43 +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
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
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
John Roussos
c9af1f0a76 JAVASCRIPT: Support for both uppercase and lowercase input values 2022-03-15 18:06:09 +02: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
Zev Spitz
2028e95764 Simplify Reverse (C#) folder structure 2022-01-17 08:34:09 +02:00
Zev Spitz
75def2707d Add sln and csroj/vbproj files where missing 2022-01-16 08:17:31 +02:00
Kristian Stolen
ead374e8b5 refactor and reformat output. 2022-01-13 16:53:09 +08:00
Kristian Stolen
7d14c37aaa Handle array size inputs less than 1. 2022-01-13 16:41:24 +08:00
Kristian Stolen
4f2bc6f98c Add test showing that reverse handles numbers less than zero. 2022-01-13 16:32:55 +08:00
Kristian Stolen
ed50c3e24b fix typo. 2022-01-13 16:28:54 +08:00
Kristian Stolen
08ea76d111 Update display 2022-01-13 16:28:08 +08:00
Kristian Stolen
329fe3137c Add rules. 2022-01-12 20:26:18 +08:00
Kristian Stolen
2758c3375c Remove static method. 2022-01-12 20:15:37 +08:00
Kristian Stolen
4dc1e57789 Make static method private. 2022-01-12 20:14:33 +08:00
Kristian Stolen
0a7e386c36 Remove static method. 2022-01-12 20:13:57 +08:00
Kristian Stolen
67d1c84f2e Update program to reference instance of reverser. 2022-01-12 20:13:03 +08:00
Kristian Stolen
eb27f8612e Add GetArrayString method. 2022-01-12 20:05:17 +08:00
Kristian Stolen
a819a535bb Define instance methods for reverser. 2022-01-12 20:00:59 +08:00
Kristian Stolen
08282e1a7d Configure console app 2022-01-12 19:29:09 +08:00
Kristian Stolen
1d4651bfef Add method for creating a random array of distinct values. 2022-01-12 19:00:51 +08:00
Kristian Stolen
b1cfa83ac5 Add method for checking if a given array is in ascending order. 2022-01-12 19:00:20 +08:00
Kristian Stolen
8e54c0e930 rename tests. 2022-01-12 18:12:15 +08:00
Kristian Stolen
2a809aabc9 Protect against index out of range exceptions 2022-01-12 18:09:57 +08:00
Kristian Stolen
84d473d8f2 Create reverser that reverses an array at a given position. 2022-01-12 17:56:26 +08:00
Mark Wieder
40617fa4fc implementation of game 73 (Reverse) in ruby 2022-01-08 17:20:53 -08:00
Tom Wyant
d10e80e2c0 Ported 73_Reverse to Perl.
In a language with list assignments, array slices, and a reverse()
built-in, the reversal can be done in one statement.
2022-01-03 17:12:34 -05: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