Commit Graph

331 Commits

Author SHA1 Message Date
Jeff Atwood
a730f48f14 Merge pull request #123 from iamtraction/main
Gunner - Python Port
2021-02-28 16:05:42 -08:00
Jeff Atwood
918946af17 Merge pull request #114 from clamey/amazing-java
Amazing java
2021-02-28 16:03:49 -08:00
Jeff Atwood
280995d582 Merge pull request #128 from tsmaster/port-number
Port NUMBER to Python
2021-02-28 16:02:56 -08:00
Dave LeCompte
f06414a799 Port NUMBER to Python
Simple port, changed some variable names.
2021-02-28 15:55:01 -08:00
Jeff Atwood
d65a90670f 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
6f506b9e0c Merge pull request #120 from ericfischer/chemist-c
Link to C port
2021-02-28 14:49:34 -08:00
Sankarsan Kampa
f914b90391 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
c71eb2dfb8 Merge pull request #113 from suetanvil-misc/bunny-ruby
Ported Bunny to Ruby.
2021-02-28 13:08:56 -08:00
Christopher Oezbek
baeee817c7 Added conversion of "01 Acey Ducey" to ruby 2021-02-28 21:44:30 +01:00
Jeff Atwood
046647a28d Merge pull request #115 from quamrana/main
Added conversion of 14 bowling to python
2021-02-28 11:27:19 -08:00
Eric Fischer
5792821783 Link to C port 2021-02-28 11:25:08 -08:00
Jeff Atwood
599fc227d6 Merge pull request #118 from infovore/main
Port of 'Bagels' to Ruby
2021-02-28 11:11:17 -08:00
Tom Armitage
dac2d92b9d Final tweaks. 2021-02-28 18:48:33 +00:00
Tom Armitage
803e0a5c44 Spacing. 2021-02-28 18:47:01 +00:00
Tom Armitage
f0e48e3bc9 Typo. 2021-02-28 18:46:46 +00:00
Tom Armitage
f535add888 Works better if you hide the number in mind. 2021-02-28 18:45:50 +00:00
Tom Armitage
8e1deff7a9 Remove golfy ternary. 2021-02-28 18:45:21 +00:00
Tom Armitage
d00ed32ee9 Translator's notes. 2021-02-28 18:42:28 +00:00
Tom Armitage
721474a982 Letting Rubocop have its way. 2021-02-28 18:41:56 +00:00
Tom Armitage
16734b5d6d Target and guess should be number, not arrays. 2021-02-28 18:38:31 +00:00
Tom Armitage
ff37454a07 First pass at 'bagels' port. 2021-02-28 18:32:34 +00:00
quamrana
db46a38f90 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
a1cb00c51a Create bowling.py
First commit of bowling.py
2021-02-28 16:14:47 +00:00
Topher Lamey
e59b515262 Reformatted 2021-02-28 00:47:50 -07:00
Topher Lamey
2cb313ec89 Code cleanup 2021-02-28 00:45:12 -07:00
Chris Reuter
48fdb4962f 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
8602b5f9a1 More cell 2021-02-27 23:45:58 -07:00
Topher Lamey
8f423700e5 Clean up additions 2021-02-27 23:37:13 -07:00
Topher Lamey
5ed4716a4e Add setup to grid 2021-02-27 22:33:03 -07:00
Topher Lamey
b545537962 Use cell for possible directions 2021-02-27 22:28:37 -07:00
Topher Lamey
839cf632f0 Use single grade rather than two arrays 2021-02-27 22:17:10 -07:00
Jeff Atwood
5b03399950 Merge pull request #112 from tsmaster/port-hello
Port HELLO to Python
2021-02-27 21:10:50 -08:00
Jeff Atwood
a476b2b0be Merge pull request #111 from nanochess/main
Ported HANGMAN and HELLO to Javascript
2021-02-27 21:10:02 -08:00
Jeff Atwood
76c78c047b Merge pull request #110 from epvanhouten/hurkle-csharp
Hurkle csharp
2021-02-27 21:09:46 -08:00
Jeff Atwood
5bec28d825 Merge pull request #109 from tsmaster/port-kinema
Port kinema
2021-02-27 21:09:36 -08:00
Topher Lamey
71d5d4f721 Be more explicit with cell values 2021-02-27 22:07:45 -07:00
Dave LeCompte
c13923b694 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
b4f06c67b9 Ported HANGMAN and HELLO to Javascript 2021-02-27 21:48:52 -06:00
epvanhouten
176457f620 Updating README.md 2021-02-27 21:04:32 -06:00
epvanhouten
25525a5a82 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
553d07b35c 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
5878a2f2a7 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
8df211b17b Add ViewModels for game loop
Move all UI interaction off of game loop variables.
2021-02-27 20:44:35 -06:00
Jeff Atwood
a743ae3063 Merge pull request #108 from tsmaster/port-letter
Ported LETTER to Python
2021-02-27 18:40:31 -08:00
Dave LeCompte
bc00a610d4 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
47593d0760 Isolate prompting from game
Move the user input out of the game logic.
2021-02-27 20:08:03 -06:00
Topher Lamey
61d4f135de Fix up constants 2021-02-27 18:51:42 -07:00
epvanhouten
8291d08a8d 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
d982e3be77 Merge pull request #107 from journich/main
Java versions of Slots and Synonym
2021-02-27 17:47:47 -08:00
Topher Lamey
79b13f1b5e Initial take on Amazing for Java, gitignore update for IntelliJ 2021-02-27 18:41:04 -07:00