Commit Graph

1025 Commits

Author SHA1 Message Date
Paul Holt
cafa60a265 oops revert renaming TicTacToe2 2022-01-08 01:57:12 +11:00
Paul Holt
af5225e0f4 All games now have the correct gameMain defined in gradle.properties 2022-01-08 01:45:49 +11:00
Paul Holt
ad638a56fd Kotlin version of build script
Create standalone directory of executable java scripts
2022-01-08 00:46:23 +11:00
Paul Holt
d570c60149 Add java spec to Matches build.gradle 2022-01-08 00:45:41 +11:00
Paul Holt
ccfad663e3 Remove java spec from Boxing build.gradle 2022-01-08 00:45:13 +11:00
Paul Holt
410fade4a0 formatted version of battle.bas 2022-01-08 00:44:18 +11:00
Paul Holt
6850748367 remove build artifacts accidentally added 2022-01-06 02:02:29 +11:00
Paul Holt
40f65a291a change King package 2022-01-06 02:01:18 +11:00
Paul Holt
fe4219dc5a initial jvm gradle build scripts. 2022-01-06 01:59:09 +11:00
Paul Holt
338106499f Warning for suicide references 2022-01-05 02:17:22 +11:00
Paul Holt
9a0ad29937 Remove suicide reference by default 2022-01-05 02:09:38 +11:00
Paul Holt
39b2486703 Merge branch 'main' of github.com:pcholt/basic-computer-games into main 2022-01-05 01:36:34 +11:00
Paul Holt
b439c8ad38 change headings 2022-01-05 01:33:41 +11:00
Paul Holt
f045b77551 Update README.md 2022-01-05 01:30:39 +11:00
Paul Holt
1d100d2310 Bug fix - restoring game did not enter countrymen
Refactor - Added validatedInput function
2022-01-05 01:24:08 +11:00
Paul Holt
14328eae3d Remove exceptions used for standard
flow-control - this is an antipattern.
2022-01-05 00:13:52 +11:00
Paul Holt
84bc463430 Update README.md 2022-01-04 10:41:42 +11:00
Paul Holt
ee32f263f7 Merge branch 'coding-horror:main' into main 2022-01-04 10:15:39 +11:00
Paul Holt
d121d2ab64 update docs 2022-01-04 10:14:09 +11:00
Paul Holt
1fad565805 initial kotlin implementation of "King" 2022-01-04 10:13:48 +11:00
Jeff Atwood
4e8ada4e3a Merge pull request #391 from ribtips/main
Perl version of game 26 Chomp
2022-01-03 14:59:39 -08:00
Jeff Atwood
90c6753b69 Merge pull request #393 from trwyant/73_Reverse_ported_by_trw
Ported 73_Reverse to Perl.
2022-01-03 14:55:04 -08:00
Tom Wyant
1d2ccb230c 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
RibTips
72d9d9efbb Perl version of Chomp 2022-01-03 15:59:14 -05:00
Jeff Atwood
e67f4367fc Merge pull request #390 from trwyant/03_Animals_ported_by_trw
Port 03_Animal to Perl.
2022-01-03 12:17:52 -08:00
Tom Wyant
a7095c6391 Port 03_Animal to Perl.
Replaed array-based simulation of binary tree with hash-based simulation
of binary tree.
2022-01-03 15:14:45 -05:00
Jeff Atwood
55a2c830e2 Merge pull request #387 from ersen0/23matches-perl
Add Perl version of 93_23Matches
2022-01-03 11:48:08 -08:00
Oğuz Ersen
1394b2e963 Add Perl version of 93_23Matches 2022-01-03 19:39:53 +00:00
Jeff Atwood
8d30ff2074 Merge pull request #386 from daves561/bombs-away-csharp
Bombs Away in C#
2022-01-03 10:35:01 -08:00
Dave Shapiro
3e6c2af798 Added Bombs Away in C#. This is a Visual Studio 2022 solution and uses the latest language features like file-scoped namespaces. 2022-01-03 11:30:55 -07:00
Jeff Atwood
a23ad1239c Merge pull request #384 from baka0815/pascal_randomize
AceyDucey/pascal: Move Randomize()
2022-01-03 10:30:25 -08:00
Jeff Atwood
5491968447 Merge pull request #385 from daves561/fix-readme-typo
Fix typo in Bombs Away README.
2022-01-03 10:27:38 -08:00
Dave Shapiro
7192465b4b Fix typo in Bombs Away README. 2022-01-03 11:21:08 -07:00
baka0815
332163fc95 AceyDucey/pascal: Move Randomize()
Randomize() should be called only once and as soon as possible.
2022-01-03 18:24:09 +01:00
Jeff Atwood
39595193e4 Merge pull request #373 from tjd1234/35.evenwins.python
added evenwins.py
2022-01-03 09:13:44 -08:00
Jeff Atwood
0915cbda97 Merge pull request #370 from cmaitchison/rock-scissors-paper-ruby
Add Ruby implementation of Rock Scissors Paper
2022-01-03 09:12:22 -08:00
Jeff Atwood
d454605d1b Merge pull request #374 from patimen/main
Add Kotlin to War
2022-01-03 09:10:58 -08:00
Jeff Atwood
918257e05f Merge pull request #382 from Luminoso-256/main
add C# port of 21_calendar
2022-01-03 07:21:45 -08:00
Jeff Atwood
4f1c8fab23 Merge pull request #379 from marijnz0r/main
Add csharp version of 40_Gunner
2022-01-03 07:20:51 -08:00
Jeff Atwood
6091329c67 Merge pull request #375 from LukasMurdock/update-readme
Update game readme
2022-01-03 07:20:28 -08:00
Jeff Atwood
f4858ae118 Merge pull request #378 from trwyant/90_Tower_ported_by_trw
Add Perl port of 90_Tower (Tower of Hanoi)
2022-01-03 07:19:22 -08:00
Jeff Atwood
da3f79ceb1 Merge pull request #377 from aviyam/main
Fixes
2022-01-03 07:18:46 -08:00
Luminoso-256
5dea41e731 add C# port of 21_calendar 2022-01-03 08:31:32 -06:00
marijnz0r
aa6e66a68b Add csharp version of 40_Gunner 2022-01-03 12:51:38 +01:00
LukasMurdock
e10780844c save 3-D tic-tac-toe 2022-01-03 06:49:10 -05:00
Tom Wyant
74341f2b99 Add Perl port of 90_Tower (Tower of Hanoi) 2022-01-03 06:23:44 -05:00
aviyam
5417d94d53 Fixed 2 issues:
1. Behavior of game play. New cards should be dealt every round.
2. As a result of 1, check that we have at least 3 cards for next round.
2022-01-03 12:42:36 +02:00
LukasMurdock
13ab23b447 typo, misspelled Geoffrey 2022-01-03 02:26:52 -05:00
LukasMurdock
f47eaa7292 typo, left out y in originally 2022-01-03 02:23:34 -05:00
LukasMurdock
8e59a0c419 add 17-96 2022-01-03 02:13:21 -05:00