Commit Graph

391 Commits

Author SHA1 Message Date
Alvaro Frias Garay cb61baaee1 Added main code of animal game
(not fully tested)
2021-03-01 19:25:25 -03:00
Jeff Atwood 6751107a05 Merge pull request #141 from tsmaster/port-orbit
Port ORBIT to Python
2021-03-01 14:15:53 -08:00
Jeff Atwood d78a8a8f83 Merge pull request #151 from marvin826/main
Initial work to port Salvo game 77 to python
2021-03-01 13:35:00 -08:00
marvin826 cad8dd6f66 Jupyter workbook for working out basic Salvo Python concepts 2021-03-01 14:24:51 -07:00
Jeff Atwood e7420e873e Merge pull request #149 from consultutah/main
Added sln & csproj files / also fixed prompt
2021-03-01 12:52:14 -08:00
Jeff Lewis ed6367352d Fixed prompt msg 2021-03-01 13:39:18 -07:00
Jeff Lewis 814eb92bb1 Added csproj and sln 2021-03-01 13:37:39 -07:00
Jeff Atwood 407f10e6e0 Merge pull request #142 from bwignall/38_pelt_access
Array access changes
2021-03-01 10:45:02 -08:00
Jeff Atwood 346e5ec9bc Merge pull request #144 from nanochess/main
Ported BLACKJACK to Javascript
2021-03-01 10:44:32 -08:00
Jeff Atwood 814b3eea73 Merge pull request #143 from tsmaster/port-literature
Port LITQUIZ to Python
2021-03-01 10:39:58 -08:00
Jeff Atwood e9d31d12ab Merge pull request #147 from tsmaster/port-hexpawn
WIP Begin Porting HEXAPAWN to Python
2021-03-01 10:37:46 -08:00
Jeff Atwood 359f802a39 Merge pull request #145 from tsmaster/port-pizza
Port PIZZA to Python
2021-03-01 10:24:33 -08:00
Jeff Atwood 220b917805 Merge pull request #148 from jamiemccarthy/51-hurkle-ruby
Hurkle in Ruby
2021-03-01 10:23:37 -08:00
Jamie McCarthy bd8c2dac48 Simplify 2021-03-01 11:33:52 -06:00
Jamie McCarthy 31d048e3f9 Modularize a bit, clean up strings a bit 2021-03-01 11:30:11 -06:00
Jamie McCarthy 6980dfda94 Add a Point class 2021-03-01 11:17:00 -06:00
Dave LeCompte 3d6267433a WIP Begin Porting HEXAPAWN to Python
So far, have printed out instructions and parsed player moves. Submitting pull request to let folks know I'm working on this.
2021-03-01 09:08:03 -08:00
Jamie McCarthy 7ab5cfd140 Ruby names constants with UPPER_CASE by convention 2021-03-01 10:20:44 -06:00
Jamie McCarthy 9d41dd2c31 Move a function around 2021-03-01 10:18:12 -06:00
Jamie McCarthy f9387636a7 Move more prints into functions 2021-03-01 10:17:47 -06:00
Jamie McCarthy b7e044c9c2 print_introduction 2021-03-01 10:15:12 -06:00
Jamie McCarthy cc24398bdb Correct hurkle's gender
Hurkles can give birth parthenogenetically, but are nevertheless -- or
at least this one is -- nongendered. No male hurkles are known to exist
2021-03-01 10:09:39 -06:00
Jamie McCarthy 5826a0ce82 Tighten up direction-finding logic 2021-03-01 10:08:35 -06:00
Jamie McCarthy c17ea838d3 Add in the direction-finding logic 2021-03-01 10:06:08 -06:00
Jamie McCarthy b4254488bd Line-by-line-as-literally-as-possible conversion from BASIC to Ruby
Excluding the direction-finding logic.

Ruby lacks a GOTO or even a way to "break" out of two loops instead of
one, necessitating the use of variables and subroutines that the
original program lacked.
2021-03-01 10:05:56 -06:00
Dave LeCompte d8d3c0773c Port PIZZA to Python
Refactored logic into functions. If you're the kind of person that likes to say "pizza pie", then you might also like saying "pizza.py".
2021-03-01 08:01:15 -08:00
nanochess 3a1f61737c Ported BLACKJACK to Javascript 2021-03-01 09:54:41 -06:00
Dave LeCompte 773ea76b33 Port LITQUIZ to Python
pulled questions and answers out into a question class to reduce repetition in the logic.
2021-03-01 07:05:13 -08:00
Jamie McCarthy 880fac2e3f Start hurkle.rb with the original BASIC code 2021-03-01 08:56:21 -06:00
Brian Wignall 43bf3788c4 Array access changes 2021-03-01 07:19:02 -05:00
Dave LeCompte 7979e2c8cc Port ORBIT to Python
Pretty straightforward port - a huge portion of the code is drawing ASCII art of Earth.

I also took the liberty of deleting unnecessary work to get the argument to math.cos to lie between -180 and 180 degrees. Maybe that was important back in the day.
2021-02-28 21:33:52 -08:00
Jeff Atwood 787e7a40ff Merge pull request #140 from tsmaster/port-poetry
Port POETRY to Python
2021-02-28 20:48:54 -08:00
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 2cd440e49d Merge pull request #139 from journich/main
Java version of Love game
2021-02-28 20:44:42 -08:00
Jeff Atwood 505e9126bd Merge pull request #138 from nanochess/main
Ported BATTLE to Javascript
2021-02-28 20:44:27 -08:00
journich ee0aa306ee Java version of Love game 2021-03-01 14:58:47 +10:30
nanochess edd76ea962 Ported BATTLE to Javascript 2021-02-28 22:19:46 -06:00
Jeff Atwood 729214b206 Merge pull request #137 from danielpiron/python-tictactoe2
Python port of Tic-Tac-Toe 2 (first pass)
2021-02-28 19:13:11 -08:00
Jeff Atwood 5e4ef4a136 Merge pull request #136 from iamtraction/main
Hurkle - Python port
2021-02-28 19:11:16 -08:00
Daniel Piron fb8b8c75cb Python port of Tic-Tac-Toe 2 (first pass)
Needs work on Computer AI
2021-02-28 22:09:10 -05:00
Sankarsan Kampa 1d4b0d24e3 hurkle: add python port
Signed-off-by: Sankarsan Kampa <19631364+iamtraction@users.noreply.github.com>
2021-03-01 08:32:43 +05:30
Jeff Atwood 52d1c17595 Merge pull request #135 from ibrahimalbarghouthi/word
Converted 'Word' to ruby
2021-02-28 18:49:15 -08:00
ibrahim albarghouthi 2ded55c46e Converted 'Word' to ruby 2021-03-01 04:45:51 +02:00
Jeff Atwood 6fb849cc86 Merge pull request #134 from Swofty-Developments/main
63 Name port over to Java
2021-02-28 18:32:25 -08:00
Jeff Atwood 1d3dde74f2 Merge pull request #133 from jkboyce/main
first pass--feature complete, needs testing and cleanup
2021-02-28 18:31:37 -08:00
Swofty 4d4e76b67c Merge pull request #1 from Swofty-Developments/Swofty-Developments-name-java
63 Name ported to Java
2021-03-01 13:30:07 +11:00
Swofty 2ee4e57d67 63 Name ported to Java
Porting over name to Java, should be fully complete.
2021-03-01 13:28:51 +11:00
Jack Boyce de5b6a68d4 first pass--feature complete, needs testing and cleanup 2021-02-28 18:22:23 -08:00
Jeff Atwood 121090c7f8 Merge pull request #132 from consultutah/main
Port Amazing to C# from Java version
2021-02-28 18:22:19 -08:00
Jeff Atwood 9055bed4fb Merge pull request #131 from anson-vandoren/main
Adds Python implementation for Depth Charge
2021-02-28 18:21:36 -08:00