Commit Graph

60 Commits

Author SHA1 Message Date
Martin Thoma
4b3b991273 Use docstrings 2022-04-02 08:10:01 +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
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
Zev Spitz
75def2707d Add sln and csroj/vbproj files where missing 2022-01-16 08:17:31 +02:00
Thomas Kwashnak
33b5da4b1f Misc final steps
Removed commented code
Added to README.md
2022-01-13 17:16:45 -05:00
=
e7e16eb949 Move code now properly works 2022-01-13 17:01:43 -05:00
=
e107e88509 Fixed Bug 2022-01-13 16:59:25 -05:00
Thomas Kwashnak
dc0ceba48a Using tests instead of try catches 2022-01-13 12:27:53 -05:00
Thomas Kwashnak
37791fe915 Commented and fixed error 2022-01-13 11:29:05 -05:00
Thomas Kwashnak
d041d2f92a Replaced double quotes with single quotes 2022-01-13 09:14:39 -05:00
Thomas Kwashnak
351530faed Removed extra quotation mark 2022-01-13 09:07:33 -05:00
Thomas Kwashnak
212cc1d8bd Removed Commented Line 2022-01-13 08:47:41 -05:00
Thomas Kwashnak
633c0137c7 Added Post-Game prints 2022-01-13 08:45:48 -05:00
Thomas Kwashnak
679481ea23 Simplified / Shortened move script 2022-01-13 08:41:13 -05:00
Thomas Kwashnak
b887d29930 Finished Move script (if it is correct) 2022-01-13 08:36:27 -05:00
Thomas Kwashnak
4485faa7e3 Update High_IQ.py 2022-01-12 13:22:32 -05:00
Thomas Kwashnak
d0ab16bac2 Fixed formatting of tabs into spaces 2022-01-12 13:07:07 -05:00
Thomas Kwashnak
4840012fda Merge branch 'coding-horror:main' into 48_High_IQ_Python 2022-01-12 13:05:44 -05:00
Bastiaan Veelo
e22e1bed26 Add D version of High_IQ (48). 2022-01-10 00:41:58 +01:00
Thomas Kwashnak
c41e7ce057 Formatted Board into single string 2022-01-06 13:58:12 -05:00
Thomas Kwashnak
60b84070c9 Added Header 2022-01-06 13:40:28 -05:00
Thomas Kwashnak
110b77fccd Cleanup 2022-01-06 13:35:37 -05:00
Thomas Kwashnak
3d4f5c685a Added Instructions 2022-01-06 13:22:56 -05:00
Thomas Kwashnak
45345d593d Reformatted Code 2022-01-06 13:16:55 -05:00
Thomas Kwashnak
18016b59ed Typo Fixes 2022-01-06 13:15:48 -05:00
Thomas Kwashnak
048b9c31a2 Added re-playability 2022-01-06 11:38:17 -05:00
Thomas Kwashnak
821ae4befe Moving re-playability to other script 2022-01-06 10:02:44 -05:00
Thomas Kwashnak
a0210ffe83 Forgot board isn't booleans
Maybe I should make it booleans?
2022-01-06 09:55:01 -05:00
Thomas Kwashnak
58f68bcd2f Added is_game_finished
I have absolutely no idea if it works..
2022-01-06 09:54:18 -05:00
Thomas Kwashnak
e19a4aef19 Added leaving comment 2022-01-06 09:46:58 -05:00
Thomas Kwashnak
31dec71063 Simplified isGameFinished
Unsure if I should simplify further
2022-01-06 09:45:04 -05:00
Thomas Kwashnak
aaa8d61860 Implemented GameFinished
does it work? Unsure...
2022-01-06 09:34:20 -05:00
Thomas Kwashnak
056c8cd4d9 Update HighIQ.java 2022-01-06 09:06:15 -05:00
Thomas Kwashnak
918b42149e Implemented Possible printBoard
Doing this through web browser, so unsure if this will work or compile.. Will check later
2022-01-06 08:52:12 -05:00
Thomas Kwashnak
f8cc93aaea added getChar method 2022-01-06 08:50:17 -05:00
Thomas Kwashnak
c207acaa56 Removed trailing spaces 2022-01-06 08:46:27 -05:00
Thomas Kwashnak
92064c668a Update High_IQ.py 2022-01-06 08:43:12 -05:00
Thomas Kwashnak
919bb2f682 No longer asks before printing instructions 2022-01-06 08:40:45 -05:00
Thomas Kwashnak
27b81d4871 Uncommented board-positions guide 2022-01-06 08:37:28 -05:00
Thomas Kwashnak
2811e23a4f Finished print_board(board) method 2022-01-06 08:36:05 -05:00
Thomas Kwashnak
fd489bf3da Using single class 2022-01-05 14:30:02 -05:00
Thomas Kwashnak
b250689f37 Use Map instead of 2d array 2022-01-05 12:20:07 -05:00
Thomas Kwashnak
fb8a87bade Added the board matrix 2022-01-05 11:59:12 -05:00
Thomas Kwashnak
4ea34f8456 Add method signatures to HighIQ.java 2022-01-05 11:49:07 -05:00
Thomas Kwashnak
917915048e Create Board.java 2022-01-05 11:41:21 -05:00