Skip to content

Commit

Permalink
Spelling errors :/
Browse files Browse the repository at this point in the history
  • Loading branch information
MrConorAE committed May 21, 2021
1 parent 32821dc commit 69167b2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
14 changes: 14 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"cSpell.words": [
"actv",
"catg",
"ctry",
"dcse",
"happ",
"inft",
"msrs",
"optn",
"supp",
"tcse"
]
}
8 changes: 5 additions & 3 deletions game.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,8 @@ def calculateMeasures(m):
h = h * 0.9
elif (e > 75):
h = h * 1.1
# Apply a +/- multiplier to Happiness if Cases are high/low, respectively
h = h * (1 - (player.stat[0].dcse / 100000))
# For each metric, if it's higher than 100 or lower than 0, "level" it
s = s if s > 0 else 0.001
s = s if s < 100 else 100
Expand Down Expand Up @@ -523,7 +525,7 @@ def optionChanges(o, m):


def display(c):
# This function is based on the development prototype found in display.py. It has been modified (singnificantly) to
# This function is based on the development prototype found in display.py. It has been modified (significantly) to
# operate with the new data structure used in this version.
#
# This function prints out a human-readable "summary" of information (statistics, metrics) for the player to use.
Expand Down Expand Up @@ -690,7 +692,7 @@ def init():
IMPORTANT NOTE:
There are 2 case statistics: actual cases and discovered cases.
Actual Cases is the real number of cases in the community.
Discovered Cases is a proportion of your Active Cases based on your Testing statistic - this means that if you have litle or
Discovered Cases is a proportion of your Active Cases based on your Testing statistic - this means that if you have little or
no testing, you will see little or no cases!
Tips:
Expand Down Expand Up @@ -754,7 +756,7 @@ def init():
init()

# MAIN GAME LOOP ##################################################################################
# This is the main loop of the game; where player input is recieved and processed. All the other functions are called from here.
# This is the main loop of the game; where player input is received and processed. All the other functions are called from here.
while True:
# Increment the turn counter and date
player.turn = player.turn + 1
Expand Down

0 comments on commit 69167b2

Please sign in to comment.