Commit Graph

337 Commits

Author SHA1 Message Date
Dave LeCompte
af605a80c7 Port POETRY to Python
So much spaghetti in the source BASIC! I've tried to make things more modular, but it's still a complicated machine. There's room for somebody else to refactor this to be cleaner, if they feel like it.
2021-02-28 20:46:23 -08:00
Jeff Atwood
b31ed09153 Merge pull request #127 from tsmaster/port-chemist
Port CHEMIST to Python
2021-02-28 16:09:01 -08:00
Jeff Atwood
ea805e3f18 Merge pull request #126 from tsmaster/port-awari
Port AWARI to Python
2021-02-28 16:08:43 -08:00
Jeff Atwood
b61c826023 Merge pull request #125 from olliehcrook/ollies-branch
Added java version of mathdice game
2021-02-28 16:07:52 -08:00
Jeff Atwood
2973745a14 Merge pull request #124 from Boltyk/develop
Port Battle to C#
2021-02-28 16:07:36 -08:00
Jeff Atwood
25df73afff Merge pull request #123 from iamtraction/main
Gunner - Python Port
2021-02-28 16:05:42 -08:00
Jeff Atwood
3ef442333c Merge pull request #114 from clamey/amazing-java
Amazing java
2021-02-28 16:03:49 -08:00
Jeff Atwood
ba982e2547 Merge pull request #128 from tsmaster/port-number
Port NUMBER to Python
2021-02-28 16:02:56 -08:00
Dave LeCompte
3c43eb01ac Port NUMBER to Python
Simple port, changed some variable names.
2021-02-28 15:55:01 -08:00
Dave LeCompte
82cb0ffff7 Port CHEMIST to Python
Very straightforward port. I noticed a mis-scanned text error in chemist.bas, which I changed to comply both with the original book and correct English spelling. :)
2021-02-28 15:36:30 -08:00
Dave LeCompte
22c791d8d1 Port AWARI to Python
I attempted to do a faithful port of the logic for the most part. In particular, there's a clever base-6 encoding of move history that allows games to be stored as integers in a "losing book" array, which allows the AI to become stronger over time. I did not change this logic, as I felt that the cleverness of this solution is worth observing. I endeavored to make every variable clearer, and use functions to help make program flow easier to understand.

I did make one small change to the logic, which I also documented clearly, having to do with evaluating very large moves. The code, as originally published, looks like a typo to me, but with BASIC, it's hard to be certain.

Also, I'm bad at this game; the computer beats me almost always.
2021-02-28 15:12:47 -08: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
boltyk
4fa20e5694 Port Battle to C# 2021-02-28 13:32:01 -08:00
Sankarsan Kampa
8f34aeea18 gunner: add python port
Signed-off-by: Sankarsan Kampa <19631364+iamtraction@users.noreply.github.com>
2021-03-01 02:41:51 +05:30
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
Topher Lamey
57a5bad47d Reformatted 2021-02-28 00:47:50 -07:00
Topher Lamey
90e2adde76 Code cleanup 2021-02-28 00:45:12 -07: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
Topher Lamey
5b2368fb9c More cell 2021-02-27 23:45:58 -07:00
Topher Lamey
d188128a7c Clean up additions 2021-02-27 23:37:13 -07:00
Topher Lamey
37681a40b6 Add setup to grid 2021-02-27 22:33:03 -07:00
Topher Lamey
d0c396b73d Use cell for possible directions 2021-02-27 22:28:37 -07:00
Topher Lamey
1dcc302ce7 Use single grade rather than two arrays 2021-02-27 22:17:10 -07: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
Topher Lamey
7c28a2216b Be more explicit with cell values 2021-02-27 22:07:45 -07: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