Jeff Atwood
0c45149e2f
Merge pull request #504 from hashtegner/main
...
Chief in Ruby
2022-01-14 09:26:38 -08:00
Jeff Atwood
c843de35f8
Merge pull request #503 from jnellis/main
...
Java port of Craps. Updated Readme with detailed breakdown of the original BASIC code.
2022-01-14 09:20:54 -08:00
Jeff Atwood
676c6bb595
Merge pull request #502 from bernardcooke53/12-bombs-away-python
...
12. Bombs Away in Python
2022-01-14 09:18:58 -08:00
Jeff Atwood
dfd7598852
Merge pull request #505 from markbernard/main
...
Add Notepad++ syntax colouring for Vintage BASIC.
2022-01-14 09:18:30 -08:00
markbernard
f9a9a791e2
Add Notepad++ syntax colouring for Vintage BASIC.
2022-01-14 09:54:49 -05:00
Alessandro Tegner
3b082b4db9
Chief in Ruby
2022-01-14 09:32:16 -03:00
Joe Nellis
b4c8bfc9c8
Java port of BASIC Craps
2022-01-14 01:43:24 -08:00
Joe Nellis
8245d7badb
Breakdown of the original BASIC code for re-implementers of this game. Sample code in BASIC showing distribution of right and wrong dice rolls.
2022-01-14 01:42:44 -08:00
Bernard Cooke
62af4c0ab2
Correct looping/breaking in number of missions dialogue
2022-01-14 08:47:21 +00:00
Bernard Cooke
f29fa1792c
Tidy logic with inline conditionals for clarity
2022-01-14 01:53:41 +00:00
Bernard Cooke
11ffe9cf90
Tidy up 'Another mission?' message
2022-01-14 01:31:27 +00:00
Bernard Cooke
cf55a5f637
12. Port Bombs Away to Python
2022-01-14 01:28:30 +00:00
Jeff Atwood
a6c444cc87
Merge pull request #499 from LittleTealeaf/48_High_IQ_Python
...
48 High IQ in Python
2022-01-13 14:23:33 -08:00
Thomas Kwashnak
33b5da4b1f
Misc final steps
...
Removed commented code
Added to README.md
2022-01-13 17:16:45 -05:00
=
e7e16eb949
Move code now properly works
2022-01-13 17:01:43 -05:00
=
e107e88509
Fixed Bug
2022-01-13 16:59:25 -05:00
Jeff Atwood
fcde33ee95
Merge pull request #494 from NezumiRonin/main
...
Perl changes.
2022-01-13 09:45:26 -08:00
Thomas Kwashnak
dc0ceba48a
Using tests instead of try catches
2022-01-13 12:27:53 -05:00
Jeff Atwood
0c8681ed44
Merge pull request #497 from kstolen0/main
...
Reverse in CSharp
2022-01-13 08:55:12 -08:00
Jeff Atwood
de73876489
Merge pull request #498 from zspitz/main
...
Some utility scripts for C# and VB.NET ports
2022-01-13 08:48:38 -08:00
Jeff Atwood
db0828ddd4
Merge pull request #500 from sechilds/fix_hamurabi_python
...
Fixes to the Python version of Hamurabi
2022-01-13 08:44:22 -08:00
Thomas Kwashnak
37791fe915
Commented and fixed error
2022-01-13 11:29:05 -05:00
Stephen Childs
94a65239d5
Allow max fields to be worked in python Hamurabi.
...
In the BASIC version the calculation is on line 455:
`455 IF D<10*P THEN 510`
Which skips over the not enough people message.
In the Python version the logic is reversed, and we check
to see if there is too few people and then run the message:
`elif D >= 10 * P` (in the current code).
However, this means that the case where you want to plant the
maximum number of acres won't work.
e.g. You have 100 people (P) and want to plant 1000 acres (D).
`1000 >= 10 * 100`
`1000 >= 1000`
Which triggers the "not enough people code".
Maybe this is a bug in the original program.
2022-01-13 11:04:43 -05:00
Stephen Childs
6c1adde205
Move harvest calculation outside rat condition.
...
This fixes an error where the harvest was only added
to the total bushels if rats ate some.
Note in the BASIC file, we check to see if rats eat
the grain in line 522 and if not, go to line 530,
which is where the `S=S-E+H` calculation is done.
2022-01-13 10:56:50 -05:00
Zev Spitz
db5face44a
Fix: print projects for multiproject script
2022-01-13 16:32:13 +02:00
Zev Spitz
baf5d3750a
Some utility scripts for C# and VB.NET ports
2022-01-13 16:24:46 +02:00
Thomas Kwashnak
d041d2f92a
Replaced double quotes with single quotes
2022-01-13 09:14:39 -05:00
Thomas Kwashnak
351530faed
Removed extra quotation mark
2022-01-13 09:07:33 -05:00
Thomas Kwashnak
212cc1d8bd
Removed Commented Line
2022-01-13 08:47:41 -05:00
Thomas Kwashnak
633c0137c7
Added Post-Game prints
2022-01-13 08:45:48 -05:00
Thomas Kwashnak
679481ea23
Simplified / Shortened move script
2022-01-13 08:41:13 -05:00
Thomas Kwashnak
b887d29930
Finished Move script (if it is correct)
2022-01-13 08:36:27 -05:00
Kristian Stolen
ead374e8b5
refactor and reformat output.
2022-01-13 16:53:09 +08:00
Kristian Stolen
7d14c37aaa
Handle array size inputs less than 1.
2022-01-13 16:41:24 +08:00
Kristian Stolen
4f2bc6f98c
Add test showing that reverse handles numbers less than zero.
2022-01-13 16:32:55 +08:00
Kristian Stolen
ed50c3e24b
fix typo.
2022-01-13 16:28:54 +08:00
Kristian Stolen
08ea76d111
Update display
2022-01-13 16:28:08 +08:00
Jeff Atwood
d2cc1389a0
Merge pull request #496 from jbrouwer5/basketball_branch
...
Basketball in Java + Python bug fix
2022-01-12 21:54:17 -08:00
Jackson Brouwer
75cca25c38
Bug fix on defense change
2022-01-12 22:50:00 -06:00
Jackson Brouwer
0c91432e5a
Added Basketball Java Version
2022-01-12 22:47:27 -06:00
Jeff Atwood
0d9d11302c
Merge pull request #495 from DyegoMaas/55_Life_csharp_refactor
...
Life in C# - fixes and better documentation
2022-01-12 16:07:34 -08:00
Dyego Maas
2ac2819151
Removed extra line printed after each generation, to better match the original's visuals.
2022-01-12 20:23:17 -03:00
Dyego Maas
b93cc409e2
Adjusted message of "invalid" generations, matching the original.
2022-01-12 20:22:26 -03:00
Dyego Maas
d52981de73
Refactoring.
2022-01-12 20:21:30 -03:00
Dyego Maas
f70b6d42dd
Refactoring.
2022-01-12 20:08:53 -03:00
Dyego Maas
7a7d92ce24
Compensated for the displacement that was occurring in the y axis by adjusting the "middle" to a valid value when working with zero based indexes.
2022-01-12 20:07:52 -03:00
Dyego Maas
5731a4df08
Temporary compensation for error calculating (possibly related to rounding) that caused misplacement of the initial pattern by 2 in the y axis.
2022-01-12 19:50:32 -03:00
Dyego Maas
fd8c02371a
Adjusting indexes.
2022-01-12 19:49:30 -03:00
Alex Gomez
eaa20ba52b
Carriage return removed
2022-01-12 16:47:45 -06:00
Nezumi Ronin
fcccf8b9ea
Merge branch 'coding-horror:main' into main
2022-01-12 16:43:14 -06:00