// Konzept: Das Higher-Lower-Game für die höchst verdienenden Filme
// Stand 24.10.23
// Weltweit
String DatabaseName[49];
int DatabaseCash[49];
String temp;
void setup() {
// put your setup code here, to run once:
dataload1();
dataLoadTemp();
Serial.begin(9600);
Serial.println("Hallo");
temp = DatabaseName[22];
Serial.println(temp);
temp = DatabaseName[23];
Serial.println(temp);
//while (Serial.available() == 0) {}
//num = Serial.parseInt()-1;
//Serial.println(num);
//String temp = DatabaseName[num];
//Serial.println(temp);
//Serial.println(DatabaseName[num]);
//Serial.println(DatabaseCash[num]);
}
void loop() {
// put your main code here, to run repeatedly:
}
void dataload1(){
DatabaseName[0] = "Avatar";
DatabaseCash[0] = 29237;
DatabaseName[1] = "Avengers: Endgame";
DatabaseCash[1] = 27975;
DatabaseName[2] = "Avatar: The Way of Water";
DatabaseCash[2] = 23202;
DatabaseName[3] = "Titanic";
DatabaseCash[3] = 22578;
DatabaseName[4] = "Star Wars: The Force Awakens";
DatabaseCash[4] = 20682;
DatabaseName[5] = "Avengers: Infinity War";
DatabaseCash[5] = 20483;
DatabaseName[6] = "Spiderman: No Way Home";
DatabaseCash[6] = 19218;
DatabaseName[7] = "Jurassic World";
DatabaseCash[7] = 16715;
DatabaseName[8] = "The Lion King";
DatabaseCash[8] = 16569;
DatabaseName[9] = "The Avengers";
DatabaseCash[9] = 15188;
DatabaseName[10] = "Furious 7";
DatabaseCash[10] = 15153;
DatabaseName[11] = "Top Gun: Maverick";
DatabaseCash[11] = 14956;
DatabaseName[12] = "Frozen II";
DatabaseCash[12] = 14500;
DatabaseName[13] = "Barbie";
DatabaseCash[13] = 14412;
DatabaseName[14] = "Avengers: Age of Ultron";
DatabaseCash[14] = 14028;
DatabaseName[15] = "The Super Mario Bros. Movie";
DatabaseCash[15] = 13626;
DatabaseName[16] = "Black Panther";
DatabaseCash[16] = 13472;
DatabaseName[17] = "Harry Potter 7 - Part 2";
DatabaseCash[17] = 13421;
DatabaseName[18] = "Star Wars: The Last Jedi";
DatabaseCash[18] = 13325;
DatabaseName[19] = "Jurassic World: Fallen Kingdom";
DatabaseCash[19] = 13084;
DatabaseName[20] = "Frozen";
DatabaseCash[20] = 12900;
DatabaseName[21] = "Beauty and the Beast";
DatabaseCash[21] = 12635;
DatabaseName[22] = "Incredibles 2";
DatabaseCash[22] = 12428; }
void dataLoadTemp(){
DatabaseName[23] = "The Fate of the Furious";
DatabaseCash[23] = 12387;
DatabaseName[24] = "Iron Man 3";
DatabaseCash[24] = 12148;
DatabaseName[25] = "Minions";
DatabaseCash[25] = 11594;
DatabaseName[26] = "Captain America: Civil War";
DatabaseCash[26] = 11533;
DatabaseName[27] = "Aquaman";
DatabaseCash[27] = 11485;
DatabaseName[28] = "The Lord of the Rings 3";
DatabaseCash[28] = 11479;
DatabaseName[29] = "Spider-Man: Far From Home";
DatabaseCash[29] = 11319;
DatabaseName[30] = "Captain Marvel";
DatabaseCash[30] = 11282;
DatabaseName[31] = "Transformers: Dark of the Moon";
DatabaseCash[31] = 11237;
DatabaseName[32] = "Skyfall";
DatabaseCash[32] = 11085;
DatabaseName[33] = "Transformer: Age of Extinction";
DatabaseCash[33] = 11040;
DatabaseName[34] = "The Dark Knight Rises";
DatabaseCash[34] = 10811;
DatabaseName[35] = "Joker";
DatabaseCash[35] = 10744;
DatabaseName[36] = "Star Wars 7";
DatabaseCash[36] = 10741;
DatabaseName[37] = "Toy Story 4";
DatabaseCash[37] = 10733;
DatabaseName[38] = "Toy Story 3";
DatabaseCash[38] = 10669;
DatabaseName[39] = "Pirates of the Caribbean: Dead Man's Chest";
DatabaseCash[39] = 10661;
DatabaseName[40] = "Rogue One";
DatabaseCash[40] = 10574; }
void dataload3(){
DatabaseName[41] = "Aladdin";
DatabaseCash[41] = 10506;
DatabaseName[42] = "Pirates of the Caribean: On Stranger Tides";
DatabaseCash[42] = 10457;
DatabaseName[43] = "Jurassic Park";
DatabaseCash[43] = 10375;
DatabaseName[44] = "Despicable Me 3";
DatabaseCash[44] = 10348;
DatabaseName[45] = "Finding Dory";
DatabaseCash[45] = 10285;
DatabaseName[46] = "Star Wars: Episode I - the Phantom Menace";
DatabaseCash[46] = 10270;
DatabaseName[47] = "Alice in Wonderland";
DatabaseCash[47] = 10254;
DatabaseName[48] = "Zootopia";
DatabaseCash[48] = 10237;
DatabaseName[49] = "The Hobbit: An Unexpected Journey";
DatabaseCash[49] = 10170;
}