28 Commits

Author SHA1 Message Date
apeng2012
a34fa0e581 Port 12_Bombs_Away to Rust 2024-04-19 20:03:25 +08:00
JoeStrout
63af1a1066 Added MiniScript implementation of Bombardment and Bombs Away.
Also fixed a minor issue with Blackjack.
2023-07-20 15:15:02 -07:00
BrianWilkinsFL
9514ec3d7e Initial implementation of bombsaway.bas in Lua 2022-06-05 12:59:00 -04:00
Martin Thoma
17a75813b1 Remove tests and alternative Python implementations
Ad discussed here:
https://github.com/coding-horror/basic-computer-games/issues/548#issuecomment-1081008471
2022-03-29 07:02:10 +02:00
Martin Thoma
f192a3db36 Python: Add test for 9 / 10 / 11 / 12 2022-03-22 21:26:52 +01:00
Jeff Atwood
f40a1fc465 add Porting Notes to readme.md for each game 2022-03-18 19:50:22 -07:00
Martin Thoma
3b2739b8a2 Clean Code: Apply flake8-simplify to Python
Also flake8-comprehensions which was added to the CI

For flake8-simplify, there are a few false-positives,
e.g. https://github.com/MartinThoma/flake8-simplify/issues/115
2022-03-18 22:29:56 +01:00
Jeff Atwood
6f6ac93d1f Merge pull request #633 from mojoaxel/js-terminal-style
Add "nice" terminal style stylesheet for javascript html
2022-03-15 23:50:18 -05:00
Jeff Atwood
43f2ec013a add 00_Alternate_Langage folder and move alternate ports there 2022-03-15 20:49:07 -07:00
Alexander Wunschik
f2b3d6f2ed add terminal-stylesheet for javascript html 2022-03-13 11:23:05 +01:00
Martin Thoma
e64fb6795c MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be
many adjustments necessary
2022-03-05 09:29:23 +01:00
Zev Spitz
75def2707d Add sln and csroj/vbproj files where missing 2022-01-16 08:17:31 +02: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
Tim Buchalka
a78c1e8122 Another issue #457 bugfix. Player selecting enemy weapons option BOTH (GUNS and MISSILES) now calculates amount correctly resulting in a higher likelyhood of being shot down.
Added comments to make it clearer how the calculation worked for all enemy weapons.
2022-01-09 06:50:24 +10:30
Tim Buchalka
bc6580f209 Fix for gunner rate being incorrectly asked for when missiles selected - see issue #457.
Add test for player entering an amount for the percentage hit rate of gunners less than the minimum. It now shoots down the player as per the original game.
2022-01-08 17:28:18 +10:30
Pat Ludwig
32eee99654 Fix exception if choice 2 for damage is selected
Initialize the variables.
2022-01-07 21:26:46 -06:00
Pat Ludwig
ae903a3b62 Apply Both damage correctly
Choices 2 and 3 should both have missile damage applied.
2022-01-07 14:03:15 -06:00
Flavio Poletti
1348086a12 Commented and fixed code 2022-01-07 09:39:02 +01:00
Pat Ludwig
03a18e473a Fix enemy fire
Choice 3, both should apply both $double_fire and $hit_rate
2022-01-06 22:09:04 -06:00
Flavio Poletti
dd7def55f3 Add 12_Bombs_Away in Perl 2022-01-07 03:11:52 +01:00
Jeff Atwood
6961f4eb50 Merge pull request #386 from daves561/bombs-away-csharp
Bombs Away in C#
2022-01-03 10:35:01 -08:00
Dave Shapiro
fd7adde990 Added Bombs Away in C#. This is a Visual Studio 2022 solution and uses the latest language features like file-scoped namespaces. 2022-01-03 11:30:55 -07:00
Dave Shapiro
f57c27f1ea Fix typo in Bombs Away README. 2022-01-03 11:21:08 -07:00
LukasMurdock
7e3304c907 add 1-16
16:Bug
“If you elect to see all the pictures, this program has the ability of consuming well over six feet of terminal paper per run. We can only suggest recycling the paper by using the other side.”
2022-01-02 19:06:19 -05:00
Chris Reuter
d26dbf036a Removed spaces from top-level directory names.
Spaces tend to cause annoyances in a Unix-style shell environment.
This change fixes that.
2021-11-21 18:30:21 -05:00