Score Versus Arena Level Table | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Level | Score |
81 | 1,145,590 |
82 | 1,313,360 |
83 | 1,506,690 |
84 | 1,729,540 |
85 | 1,986,430 |
86 | 2,282,590 |
87 | 2,624,080 |
88 | 3,017,840 |
89 | 3,471,930 |
90 | 3,995,610 |
91 | 4,599,600 |
92 | 5,296,240 |
93 | 6,099,780 |
94 | 7,026,660 |
95 | 8,095,860 |
96 | 9,329,250 |
97 | 10,752,110 |
98 | 12,393,560 |
99 | 14,287,230 |
100 | 16,471,920 |
In case anyone was wondering, the formula to calculate the score needed for a certain level isAnd he's level 81 now, too :p It doesn't cap at 80.
10 * (lvl^2 + 1,15382779^lvl - 1). (and round to the nearest 10)
In case anyone was wondering, the formula to calculate the score needed for a certain level is
10 * (lvl^2 + 1,15382779^lvl - 1). (and round to the nearest 10)
function mylevel() {
scorelimit = 0;
for (i = 0; _root.score >= scorelimit; i++) {
scorelimit = Math.round(Math.pow(i, 2) - 1 + Math.pow(1.153828, i)) * 10;
}
currentlevel = Math.max(0, i - 2);
return (currentlevel);
}
currentlevel = mylevel();
nextlimit = Math.round(Math.pow(currentlevel + 1, 2) - 1 + Math.pow(1.153828, currentlevel + 1)) * 10;
prevlimit = Math.round(Math.pow(currentlevel, 2) - 1 + Math.pow(1.153828, currentlevel)) * 10;
Now if it's true that Elements uses 1.153828 that is quite interesting as that means that ActionScript makes errors in calculating the exponentials, as for example for level 53, you should get 47740, while the table says 47730. Other levels that are wrongly calculated are 61, 71, 74, 75, 76, 79 and 80.
import java.io.*;
import static java.lang.System.*;
import java.lang.Math;
import java.util.Scanner;
class testing{
public static void main (String str[]) throws IOException {
Scanner scan = new Scanner (System.in);
int scorelimit = 0;
int currentlevel=-2;
int a=scan.nextInt();
for(int i = 0; a >= scorelimit; i++) {
scorelimit = (int) Math.round(Math.pow(i, 2) - 1 + Math.pow(1.153828, i)) * 10;
currentlevel++;}
System.out.print(currentlevel);
}
}
Level | Score |
80 | 1,000,000 |
81 | 1,145,590 |
82 | 1,313,360 |
83 | 1,506,690 |
84 | 1,729,540 |
85 | 1,986,430 |
86 | 2,282,590 |
87 | 2,624,080 |
88 | 3,017,840 |
89 | 3,471,930 |
90 | 3,995,610 |
91 | 4,599,600 |
92 | 5,296,240 |
93 | 6,099,780 |
94 | 7,026,660 |
95 | 8,095,860 |
96 | 9,329,250 |
97 | 10,752,110 |
98 | 12,393,560 |
99 | 14,287,230 |
100 | 16,471,920 |