Elements the Game Forum - Free Online Fantasy Card Game

Opponents, Strategy and Decks => The Arena => Topic started by: kev on July 05, 2011, 05:35:02 pm

Title: Score Versus Arena Level Table
Post by: kev on July 05, 2011, 05:35:02 pm


Enter a level or score and press enter. Created by (http://elementscommunity.org/forum/the-arena/score-versus-arena-level-table/msg1205801/#msg1205801) antiaverage.



Score Versus Arena Level Table
Bronze League
Silver League
Gold League
Platinum League
Level
Score
0
0
1
10
2
40
3
100
4
170
5
260
6
370
7
510
8
660
9
840
10
1,030
11
1,250
12
1,490
13
1,740
14
2,020
15
2,330
16
2,650
17
2,990
18
3,360
19
3,750
Level
Score
20
4,160
21
4,600
22
5,060
23
5,550
24
6,060
25
6,600
26
7,160
27
7,760
28
8,380
29
9,030
30
9,720
31
10,440
32
11,200
33
12,000
34
12,850
35
13,740
36
14,680
37
15,670
38
16,730
39
17,850
Level
Score
40
19,050
41
20,330
42
21,700
43
23,180
44
24,770
45
26,500
46
28,370
47
30,410
48
32,640
49
35,090
50
37,790
51
40,760
52
44,060
53
47,730
54
51,830
55
56,410
56
61,540
57
67,320
58
73,830
59
81,180
Level
Score
60
89,500
61
98,940
62
109,670
63
121,880
64
135,800
65
151,680
66
169,820
67
190,580
68
214,340
69
241,570
70
272,800
71
308,630
72
349,790
73
397,070
74
451,420
75
513,930
76
585,850
77
668,620
78
763,900
79
873,620
80
1,000,000

This table used to be on the development page (http://www.elementsthegame.com/development.html), but Zanzarino took it down.



Projected levels past 80:

LevelScore
811,145,590
821,313,360
831,506,690
841,729,540
851,986,430
862,282,590
872,624,080
883,017,840
893,471,930
903,995,610
914,599,600
925,296,240
936,099,780
947,026,660
958,095,860
969,329,250
9710,752,110
9812,393,560
9914,287,230
10016,471,920

Determined by (http://elementscommunity.org/forum/the-arena/score-versus-arena-level-table/msg1212320/#msg1212320) antiaverage.
Title: Re: Score Versus Arena Level Table
Post by: Rember on July 05, 2011, 05:57:03 pm
Gogo 10men and essence, level 80 awaits. ;o
Title: Re: Score Versus Arena Level Table
Post by: wavedash on July 05, 2011, 05:57:49 pm
Best be stickying this thread
Title: Re: Score Versus Arena Level Table
Post by: zombie0 on July 06, 2011, 08:25:11 am
any suggestions how to gain score without farming weak decks on purpose?  beating the hardest decks seems less rewarded than facerolling without challenge
Title: Re: Score Versus Arena Level Table
Post by: ralouf on July 06, 2011, 09:07:30 am
Farming gold with a good speedbow, tweaked for the arena is I think the best way to do this. I play 2/3 H per days and I gained 40k score since arena is on.
Title: Re: Score Versus Arena Level Table
Post by: 10 men on August 02, 2011, 02:24:23 pm
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)
Title: Re: Score Versus Arena Level Table
Post by: dragonsdemesne on September 20, 2011, 08:18:56 am
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)
And he's level 81 now, too :p  It doesn't cap at 80.
Title: Re: Score Versus Arena Level Table
Post by: antiaverage on August 12, 2013, 12:29:12 pm
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)

This should be in the first post.

Zanzarino removed this chart from the development page due to the 1.4 beta being tested there now.
Title: Re: Score Versus Arena Level Table
Post by: antiaverage on November 22, 2013, 04:09:56 pm
So, I dug into the swf and found this function:

Code: [Select]
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;

Title: Re: Score Versus Arena Level Table
Post by: 10 men on November 22, 2013, 05:05:11 pm
Interesting hehe. Ftr I arrived at my formula purely through guesswork and testing with MS Excel. I did have some troubles though with determining the base of the exponential. The most logical value for it would have been the 80th root of (10^5 - 80^2 + 1) ~= 1.15382782. However, this did not produce the same values as in the official table in Excel. So I tried around a bit and arrived at 1,15382779 which gave a perfect fit for all the provided numbers. Unfortunately, that number too fails for lvl 82 (which I discovered long after finding my formula). 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.
Title: Re: Score Versus Arena Level Table
Post by: antiaverage on November 22, 2013, 08:27:49 pm
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.

Well, the number is straight from the latest dev version of the game. So I tend to agree, it seems AS has some serious floating point math issues. I noticed this when I tried to plug in all the levels up to 80 as well. Unless the arena level scores are going to change in 1.4...
Title: Re: Score Versus Arena Level Table
Post by: bogtro on November 23, 2013, 01:52:48 am
Put the same thing into Java, same rounding issues (of course no surprise). But just because I don't know what ActionScript really is and I'm learning java :P

Code: [Select]
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);
  }
}
Title: Re: Score Versus Arena Level Table
Post by: eaglgenes101 on December 05, 2013, 07:54:44 am
Because floating point is weird.
 http://www.smbc-comics.com/?id=2999
Title: Re: Score Versus Arena Level Table
Post by: antiaverage on September 17, 2015, 12:22:52 am
For people wondering about levels over 80 or wanting to play with the formula, here's a quick jsfiddle:
https://jsfiddle.net/7sg3ha3s/2/light/

Interactive:

Just type a level or score into a box and press enter.
Title: Re: Score Versus Arena Level Table
Post by: antiaverage on October 25, 2015, 08:45:53 pm
After some more testing:
https://docs.google.com/spreadsheets/d/1Nno5CI08vyPQq47kRMaxUdagMx2laYilHVhar8G2LSY/edit?usp=sharing

It looks like the logical constant (best choice for each level progressing towards a level 80 requiring a score of 10^5 or 1,000,000):
(10^5 - 80^2 + 1)^(1/80) ~= 1.153827820168474...
creates an issue with level 53 being 10 points greater than the table (http://elementscommunity.org/forum/the-arena/score-versus-arena-level-table/msg361211/#msg361211) originally provided by Zanzarino.

A constant of 1.153828 used by Elements the Game (http://elementscommunity.org/forum/the-arena/score-versus-arena-level-table/msg1111192/#msg1111192) creates an issue with scores for levels 53, 71, 74, 75, 76, 78, 79, and 80 being 10 points greater than the table (http://elementscommunity.org/forum/the-arena/score-versus-arena-level-table/msg361211/#msg361211) originally provided by Zanzarino. This is most likely because of differences in iplementation of floating point math between ActionScript 3 (via the engine used by Flash) and JavaScript.

A constant of 1.15382779 provided (http://elementscommunity.org/forum/the-arena/score-versus-arena-level-table/msg374738/#msg374738) by 10 men creates an issue with level 70 being 10 points less than the table (http://elementscommunity.org/forum/the-arena/score-versus-arena-level-table/msg361211/#msg361211) originally provided by Zanzarino.

So I have moved to using a constant of 1.1538278 which matches the table originally provided by Zanzarino and hopefully projects past that with more accuracy. Please let me know if you find any problems with this:

LevelScore
801,000,000
811,145,590
821,313,360
831,506,690
841,729,540
851,986,430
862,282,590
872,624,080
883,017,840
893,471,930
903,995,610
914,599,600
925,296,240
936,099,780
947,026,660
958,095,860
969,329,250
9710,752,110
9812,393,560
9914,287,230
10016,471,920
blarg: antiaverage,Zanzarino,10 men