Difference between revisions of "Score"

From Official Golden Krone Hotel Wiki
Jump to: navigation, search
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>
+
<code>   score = (xp^.5) + 100*numRings + 10*numFloorsExplored
    score = (xp^.5) + 100*numRings + 10*numFloorsExplored
 
  
 
     //1/2/4 based on difficulty
 
     //1/2/4 based on difficulty
Line 13: Line 12:
 
         //1/2/4 based on difficulty
 
         //1/2/4 based on difficulty
 
         ringBonus *= difficultyMod
 
         ringBonus *= difficultyMod
         score += ringBonus
+
         score += ringBonus</code>
</code>
 

Revision as of 03:11, 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 = (xp^.5) + 100*numRings + 10*numFloorsExplored

   //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