Commit Graph

296 Commits

Author SHA1 Message Date
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
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
Jeff Atwood
f6b8e0df5f Merge pull request #103 from tsmaster/port-name
Port name
2021-02-27 17:04:11 -08:00
Jeff Atwood
18a4bb3ad1 Merge pull request #102 from gcarreno/pascal-acey-ducey
Pascal port of Acey Ducey
2021-02-27 17:03:56 -08:00
Jeff Atwood
ff9543ec0e Merge pull request #100 from tsmaster/main
Ported Weekday to Python
2021-02-27 17:03:27 -08:00
Jeff Atwood
d02a5ea448 Merge pull request #98 from djaychela/main
Added python version of MATHDICE
2021-02-27 17:03:02 -08:00
Jeff Atwood
c362cc9e8a Merge pull request #96 from nanochess/main
Ported BOWLING, BOXING and BUG to Javascript
2021-02-27 17:02:51 -08:00
journich
843ee97e9f Revert "Merge branch 'main' of https://github.com/journich/basic-computer-games into main"
This reverts commit 913bc1b91f, reversing
changes made to b77b7438cd.
2021-02-28 11:24:14 +10:30
journich
913bc1b91f Merge branch 'main' of https://github.com/journich/basic-computer-games into main 2021-02-28 11:20:20 +10:30
journich
b77b7438cd Java version of Synonym 2021-02-28 11:20:00 +10:30
Jeff Atwood
21a78d4aaf Merge pull request #97 from drewjcooper/84-super-star-trek-csharp
84 Super Star Trek CSharp
2021-02-27 16:18:31 -08:00
Jeff Atwood
a5d2cc64ba Merge pull request #99 from Jones-Adam/main
Batnum in C#
2021-02-27 16:18:00 -08:00
nanochess
f55fafbb33 Ported REVERSE to Javascript 2021-02-27 18:08:32 -06:00
epvanhouten
6fb0b5c01f Literal conversion of original
Just taking the original BASIC program and converting it into C# without
adding types or modernizing the control flow.
2021-02-27 17:46:24 -06:00
nanochess
4e0559a193 Ported POETRY to Javascript 2021-02-27 17:39:48 -06:00
PeterQuinn925
c860f7a9f5 Port of Hamurabi to Python 2021-02-27 15:37:11 -08:00
epvanhouten
ee2f5c27b6 Transscripting original source
Pulled from https://www.atariarchives.org/basicgames/pages/page94.gif
2021-02-27 16:50:59 -06:00
Dave LeCompte
d788854809 Python version of NAME
uses Python operators for sorting and string manipulation
2021-02-27 14:45:24 -08:00
epvanhouten
216e34b622 Bootstrapping empty console
Generated using `dotnet new console --name hurkle`.
2021-02-27 16:36:26 -06:00
Gustavo Carreno
567885c405 Pascal: Adding credit 2021-02-27 22:28:42 +00:00
Gustavo Carreno
cb430380fe Pascal: Adding aceyducey 2021-02-27 22:24:47 +00:00
Tim Buchalka
cae335093b Delete .gitignore 2021-02-28 08:15:55 +10:30
journich
3a902ffd64 Java version of Slots 2021-02-28 08:14:17 +10:30