Difference between revisions of "Score"

From Official Golden Krone Hotel Wiki
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
Though complex looking, the dominant factors in score are the number of rings collected and the number of turns taken.
 
Though complex looking, the dominant factors in score are the number of rings collected and the number of turns taken.
  
<code>
+
<pre>   score = 10*(xp^.5) + 1,000*numRings + 100*numFloorsExplored + gold
    score = (xp^.5) + 100*numRings + 10*numFloorsExplored
 
  
 
     //1/2/4 based on difficulty
 
     //1/2/4 based on difficulty
 
     score *= difficultyMod
 
     score *= difficultyMod
  
if game was won then
+
    if game was won then
    ringBonus = (numRings^2) * (50,000,000) / numTurns
+
        ringBonus = (numRings^2) * (50,000,000) / numTurns
    //1/2/4 based on difficulty
+
        //1/2/4 based on difficulty
    ringBonus *= difficultyMod
+
        ringBonus *= difficultyMod
    score += ringBonus
+
        score += ringBonus
</code>
+
</pre>

Latest revision as of 03:16, 18 August 2020

A player's score each run is determined by the following formula.

Though complex looking, the dominant factors in score are the number of rings collected and the number of turns taken.

    score = 10*(xp^.5) + 1,000*numRings + 100*numFloorsExplored + gold

    //1/2/4 based on difficulty
    score *= difficultyMod

    if game was won then
        ringBonus = (numRings^2) * (50,000,000) / numTurns
        //1/2/4 based on difficulty
        ringBonus *= difficultyMod
        score += ringBonus