Commit Graph

384 Commits

Author SHA1 Message Date
Jeff Atwood
d58b40caa3 Merge pull request #144 from nanochess/main
Ported BLACKJACK to Javascript
2021-03-01 10:44:32 -08:00
Jeff Atwood
50363aa93d Merge pull request #143 from tsmaster/port-literature
Port LITQUIZ to Python
2021-03-01 10:39:58 -08:00
Jeff Atwood
113f8d68ca Merge pull request #147 from tsmaster/port-hexpawn
WIP Begin Porting HEXAPAWN to Python
2021-03-01 10:37:46 -08:00
Jeff Atwood
14e4ce0117 Merge pull request #145 from tsmaster/port-pizza
Port PIZZA to Python
2021-03-01 10:24:33 -08:00
Jeff Atwood
28a6cd38a4 Merge pull request #148 from jamiemccarthy/51-hurkle-ruby
Hurkle in Ruby
2021-03-01 10:23:37 -08:00
Jamie McCarthy
512c0e7e35 Simplify 2021-03-01 11:33:52 -06:00
Jamie McCarthy
304782a12e Modularize a bit, clean up strings a bit 2021-03-01 11:30:11 -06:00
Jamie McCarthy
755b05fa27 Add a Point class 2021-03-01 11:17:00 -06:00
Dave LeCompte
ee7e22c95f 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
2fb284bab8 Ruby names constants with UPPER_CASE by convention 2021-03-01 10:20:44 -06:00
Jamie McCarthy
b20d009fb6 Move a function around 2021-03-01 10:18:12 -06:00
Jamie McCarthy
8ecc1da494 Move more prints into functions 2021-03-01 10:17:47 -06:00
Jamie McCarthy
082b87d5bb print_introduction 2021-03-01 10:15:12 -06:00
Jamie McCarthy
fa1d6db1a2 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
f955984631 Tighten up direction-finding logic 2021-03-01 10:08:35 -06:00
Jamie McCarthy
6697bcea2e Add in the direction-finding logic 2021-03-01 10:06:08 -06:00
Jamie McCarthy
fc81ad458e 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
4f8c0dfd2c 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
0a177d0f72 Ported BLACKJACK to Javascript 2021-03-01 09:54:41 -06:00
Dave LeCompte
1a4f39cc02 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
f4a7b49656 Start hurkle.rb with the original BASIC code 2021-03-01 08:56:21 -06:00
Jeff Atwood
9be44dead5 Merge pull request #140 from tsmaster/port-poetry
Port POETRY to Python
2021-02-28 20:48:54 -08:00
Dave LeCompte
aa9ff64567 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
ac5ecd1e3e Merge pull request #139 from journich/main
Java version of Love game
2021-02-28 20:44:42 -08:00
Jeff Atwood
3dbfe02576 Merge pull request #138 from nanochess/main
Ported BATTLE to Javascript
2021-02-28 20:44:27 -08:00
journich
036611df8b Java version of Love game 2021-03-01 14:58:47 +10:30
nanochess
7c5466ecdd Ported BATTLE to Javascript 2021-02-28 22:19:46 -06:00
Jeff Atwood
e9e00fee2d 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
99328e704e Merge pull request #136 from iamtraction/main
Hurkle - Python port
2021-02-28 19:11:16 -08:00
Daniel Piron
5c515e94de Python port of Tic-Tac-Toe 2 (first pass)
Needs work on Computer AI
2021-02-28 22:09:10 -05:00
Sankarsan Kampa
fa413edd4d 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
1358ccf34e Merge pull request #135 from ibrahimalbarghouthi/word
Converted 'Word' to ruby
2021-02-28 18:49:15 -08:00
ibrahim albarghouthi
72a63a5fc1 Converted 'Word' to ruby 2021-03-01 04:45:51 +02:00
Jeff Atwood
6a4ababd03 Merge pull request #134 from Swofty-Developments/main
63 Name port over to Java
2021-02-28 18:32:25 -08:00
Jeff Atwood
31c3bcb0e8 Merge pull request #133 from jkboyce/main
first pass--feature complete, needs testing and cleanup
2021-02-28 18:31:37 -08:00
Swofty
40b35c0e64 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
7cf72facc1 63 Name ported to Java
Porting over name to Java, should be fully complete.
2021-03-01 13:28:51 +11:00
Jack Boyce
cc6081578a first pass--feature complete, needs testing and cleanup 2021-02-28 18:22:23 -08:00
Jeff Atwood
157f2be3ff Merge pull request #132 from consultutah/main
Port Amazing to C# from Java version
2021-02-28 18:22:19 -08:00
Jeff Atwood
7b2b288fa2 Merge pull request #131 from anson-vandoren/main
Adds Python implementation for Depth Charge
2021-02-28 18:21:36 -08:00
Jeff Lewis
0dc686558d Port Amazing to C# from Java version 2021-02-28 19:00:55 -07:00
Anson VanDoren
3bb43d1774 Merge branch 'main' of github.com:anson-vandoren/basic-computer-games into main 2021-02-28 17:42:50 -08:00
Anson VanDoren
0d4b0f682a adds Python implementation of 31 - Depth Charge 2021-02-28 17:41:47 -08:00
Jeff Atwood
e83afa2398 Merge pull request #129 from tsmaster/port-nicomachus
Port NICOMACHUS to Python
2021-02-28 16:58:35 -08:00
Dave LeCompte
b416bd8880 Port NICOMACHUS to Python
Straightforward port. Uses a modulo operator instead of repeated subtraction, because what am I, a farmer?
2021-02-28 16:44:54 -08:00
Jeff Atwood
b3b009954b Merge pull request #127 from tsmaster/port-chemist
Port CHEMIST to Python
2021-02-28 16:09:01 -08:00
Jeff Atwood
f908e0c559 Merge pull request #126 from tsmaster/port-awari
Port AWARI to Python
2021-02-28 16:08:43 -08:00
Jeff Atwood
3e11a506ca Merge pull request #125 from olliehcrook/ollies-branch
Added java version of mathdice game
2021-02-28 16:07:52 -08:00
Jeff Atwood
a2c3c5c0a7 Merge pull request #124 from Boltyk/develop
Port Battle to C#
2021-02-28 16:07:36 -08:00
Jeff Atwood
a730f48f14 Merge pull request #123 from iamtraction/main
Gunner - Python Port
2021-02-28 16:05:42 -08:00