Commit Graph

317 Commits

Author SHA1 Message Date
olliehcrook
33374413db Merge pull request #1 from olliehcrook/compgames
Compgames
2021-03-03 17:27:41 +00:00
Oliver Hensman-Crook
35845b0962 Tic-Tac-Toe java port 2021-03-03 17:20:46 +00:00
Oliver Hensman-Crook
221fa7fe09 Tic-Tac-Toe java port 2021-03-03 17:18:28 +00:00
Oliver Hensman-Crook
48b823f42a Added java version of mathdice game 2021-02-28 23:03:30 +00:00
Jeff Atwood
9d46e6badf Merge pull request #121 from coezbek/main
Added conversion of "01 Acey Ducey" to ruby
2021-02-28 14:50:10 -08:00
Jeff Atwood
f5db151a84 Merge pull request #120 from ericfischer/chemist-c
Link to C port
2021-02-28 14:49:34 -08:00
Jeff Atwood
12385b5bee Merge pull request #113 from suetanvil-misc/bunny-ruby
Ported Bunny to Ruby.
2021-02-28 13:08:56 -08:00
Christopher Oezbek
03890e6ea0 Added conversion of "01 Acey Ducey" to ruby 2021-02-28 21:44:30 +01:00
Jeff Atwood
6ba3c465f1 Merge pull request #115 from quamrana/main
Added conversion of 14 bowling to python
2021-02-28 11:27:19 -08:00
Eric Fischer
16be2e673e Link to C port 2021-02-28 11:25:08 -08:00
Jeff Atwood
9a07afb1d4 Merge pull request #118 from infovore/main
Port of 'Bagels' to Ruby
2021-02-28 11:11:17 -08:00
Tom Armitage
6039fb600b Final tweaks. 2021-02-28 18:48:33 +00:00
Tom Armitage
a7e099671d Spacing. 2021-02-28 18:47:01 +00:00
Tom Armitage
6d102c6c49 Typo. 2021-02-28 18:46:46 +00:00
Tom Armitage
7ddc519bb3 Works better if you hide the number in mind. 2021-02-28 18:45:50 +00:00
Tom Armitage
412b10491d Remove golfy ternary. 2021-02-28 18:45:21 +00:00
Tom Armitage
08c05d4646 Translator's notes. 2021-02-28 18:42:28 +00:00
Tom Armitage
2fb3ca21cf Letting Rubocop have its way. 2021-02-28 18:41:56 +00:00
Tom Armitage
ea73772a9e Target and guess should be number, not arrays. 2021-02-28 18:38:31 +00:00
Tom Armitage
7a7b86d458 First pass at 'bagels' port. 2021-02-28 18:32:34 +00:00
quamrana
03be93b7e1 Update bowling.py
Added comments about the conversion. In particular noting the original had problems keeping score and never calculated the final score.
2021-02-28 16:29:29 +00:00
quamrana
eb4da06220 Create bowling.py
First commit of bowling.py
2021-02-28 16:14:47 +00:00
Chris Reuter
cd1329cee4 Ported Bunny to Ruby.
Actually, did it twice.  One uses the original data, the other is more
readable.
2021-02-28 02:06:51 -05:00
Jeff Atwood
b01962d271 Merge pull request #112 from tsmaster/port-hello
Port HELLO to Python
2021-02-27 21:10:50 -08:00
Jeff Atwood
03869f416f Merge pull request #111 from nanochess/main
Ported HANGMAN and HELLO to Javascript
2021-02-27 21:10:02 -08:00
Jeff Atwood
23e3aef23a Merge pull request #110 from epvanhouten/hurkle-csharp
Hurkle csharp
2021-02-27 21:09:46 -08:00
Jeff Atwood
2eac446789 Merge pull request #109 from tsmaster/port-kinema
Port kinema
2021-02-27 21:09:36 -08:00
Dave LeCompte
7ede33f2c9 Port HELLO to Python
broke the file into functions to be easier to understand. There's (deliberate?) dead code in the original BASIC code, which I preserved - I don't see any way to get to the "happy" ending.
2021-02-27 20:26:58 -08:00
nanochess
f78a4457aa Ported HANGMAN and HELLO to Javascript 2021-02-27 21:48:52 -06:00
epvanhouten
ce403d2d26 Updating README.md 2021-02-27 21:04:32 -06:00
epvanhouten
ed339ccd3f Introduce a view class
Move all the console interaction into a view class making the game logic
isolated from UI.
2021-02-27 20:59:55 -06:00
Dave LeCompte
e73c7c2bbf Kinema tweak
Moved the accuracy window constant to the top of the file with a comment.
2021-02-27 18:55:29 -08:00
Dave LeCompte
0645ab1e30 Port KINEMA to Python
Pulled "g", the gravitational constant, out as a constant, rewrote the equations to be a little clearer, closer to how a high school student would recognize them from first semester Physics class.
2021-02-27 18:53:06 -08:00
epvanhouten
4f4ae0b981 Add ViewModels for game loop
Move all UI interaction off of game loop variables.
2021-02-27 20:44:35 -06:00
Jeff Atwood
f53e44d33b Merge pull request #108 from tsmaster/port-letter
Ported LETTER to Python
2021-02-27 18:40:31 -08:00
Dave LeCompte
632d14e128 Ported LETTER to Python
pretty straightforward port of the BASIC code to Python. Added a few functions for clarity. Removed CHR$(7) sounding of the bell, which is likely unsupported, and likely annoying.

Also corrected a mis-scanned "Let's Plan Again" message in the .BAS file, to both make more sense and also agree with the 2nd edition printed book.
2021-02-27 18:08:08 -08:00
epvanhouten
74eaccabc1 Isolate prompting from game
Move the user input out of the game logic.
2021-02-27 20:08:03 -06:00
epvanhouten
c206605da5 Introduce enum for directions
Instead of cleverly constructing the output string, explicitly test for
what the resulting direction is.
2021-02-27 19:50:56 -06:00
Jeff Atwood
561fa162d7 Merge pull request #107 from journich/main
Java versions of Slots and Synonym
2021-02-27 17:47:47 -08:00
journich
70b5a44fba Java version of Synonym 2021-02-28 12:10:10 +10:30
journich
165b0f5cff Java versions of Slots and Synonym 2021-02-28 12:04:20 +10:30
Jeff Atwood
299dc7f646 Merge pull request #105 from tsmaster/port-diamond
Ported DIAMOND to Python
2021-02-27 17:29:53 -08:00
Jeff Atwood
dfc1727a45 Merge pull request #106 from gcarreno/move-weekday-to-proper-folder
Moving weekday.py to python/weekday.py
2021-02-27 17:29:44 -08:00
Gustavo Carreno
9ed14228f0 Moving weekday.py to python/weekday.py 2021-02-28 01:26:55 +00:00
journich
56f2770d74 Revert "Java version of Slots"
This reverts commit 3a902ffd64.
2021-02-28 11:55:35 +10:30
epvanhouten
8f613a0237 Introduce domain object for ponts
Game is centered around comparing an X,Y point to another X,Y point.
Introduced a domain object to represent that pairing.
2021-02-27 19:19:32 -06:00
Dave LeCompte
c472ebb5c8 Ported DIAMOND to Python
added more descriptive variable names
2021-02-27 17:19:21 -08:00
epvanhouten
09436ff686 Add a bailout
Forcing a SIGKILL is bad form, give some UI for playing again or bailing.
2021-02-27 19:08:56 -06:00
epvanhouten
75e7e25a05 Introduce game class
Cleanup uses of goto and encapsulate game logic.
2021-02-27 19:07:52 -06:00
Jeff Atwood
6cb57a3314 Merge pull request #104 from PeterQuinn925/main
Port of Hamurabi to Python
2021-02-27 17:04:27 -08:00