mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 23:26:40 -08:00
Merge pull request #456 from havoclad/main
Fix exception if choice 2 for damage is selected
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
*.class
|
||||
*/.vs
|
||||
*.suo
|
||||
|
||||
|
||||
@@ -45,6 +45,8 @@ function tab(space)
|
||||
// Main program
|
||||
async function main()
|
||||
{
|
||||
s = 0;
|
||||
t = 0;
|
||||
while (1) {
|
||||
print("YOU ARE A PILOT IN A WORLD WAR II BOMBER.\n");
|
||||
while (1) {
|
||||
|
||||
Reference in New Issue
Block a user