Tibiamakers
yourolist.com
well this is a simple game I made some time ago, one day I was bored, is something about that epic question wich is this pokemon? and it appears in black.. it have got all pokemons until arceus, i think that i made a version that when you fail or succes appear the pokemon full colored, idk where it is x)
btw the script works but can be improved and have a minibug that the image where appear all the pokemons at the end are a spaces without pokemons and is in blank, for that option appears a response called void
<html>
enjoy.
btw the script works but can be improved and have a minibug that the image where appear all the pokemons at the end are a spaces without pokemons and is in blank, for that option appears a response called void
<html>
PHP:
<?php
//Game made by Overdoch dont delete this shit please :-3
// DO NOT TOUCH NOTHING EXCEPT IF YOU KNOW WHAT ARE YOU DOING
//ORIGINAL
$number1 = (int)rand(1,25);
$number2 = (int)rand(1,20);
//2º OPTION
$number3 = (int)rand(1,25);
$number4 = (int)rand(1,20);
//3º OPTION
$number5 = (int)rand(1,25);
$number6 = (int)rand(1,20);
//4º OPTION
$number7 = (int)rand(1,25);
$number8 = (int)rand(1,20);
//NOMBRES
$option1 = (int)$number1 . $number2;
$option2 = (int)$number3 . $number4;
$option3 = (int)$number5 . $number6;
$option4 = (int)$number7 . $number8;
//MEDIDAS CSS
$width = (int)$number1 * 80;
$height = (int)$number2 * 80;
//ARRAY DE TODOS LOS POKEMON
$names = array (
//4º GENERATION
11 => "void", 21 => "void",31 => "void",41 => "void",51 => "void",61 => "void",71 => "void",81 => "Arceus",91 => "Shaymin",101 => "Darkrai",111 => "Manaphy",121 => "Phione",131 => "Cresselia",141 => "Giratina",151 => "Regigigas",161 => "Heatran",171 => "Palkia",181 => "Dialga",191 => "Azelf",201 => "Mesprit",211 => "Uxie",221 => "Rotom",231 => "Froslass",241 => "Dusknoir",251 =>"Probopass",
12 => "Gallade",22 => "Porygon-Z",32 => "Mamoswine",42 => "Gliscor",52 => "Glaceon",62 => "Leafeon",72 => "Yanmega",82 => "Togekiss",92 => "Magmortar",102 => "Electivire",112 => "Tangrowth",122 => "Rhyperior",132 => "Lickilicky",142 => "Magnezone",152 => "Weavile",162 => "Abomasnow",172 => "Snover",182 => "Mantyke",192 => "Lumineon",202 => "Finneon",212 => "Carnivine",222 => "Toxicroak",232 => "Croagunk",242 => "Drapion",252 => "Skorupi",
13 => "Hippowdon",23 => "Hippopotas",33 => "Lucario",43 => "Riolu",53 => "Munchlax",63 => "Garchomp",73 => "Gabite",83 => "Gible",93 => "Spiritomb",103 => "Chatot",113 => "Happiny",123 => "Mime Jr.",133 => "Bonsly",143 => "Bronzong",153 => "Bronzor",163 => "Skuntank",173 => "Stunky",183 => "Chingling",193 => "Purugly",203 => "Glameow",213 => "Honchkrow",223 => "Mismagius",233 => "Lopunny",243 => "Buneary",253 => "Drifblim",
14 => "Drifloon",24 => "Ambipom",34 => "Gastrodon",44 => "Shellos",54 => "Cherrim",64 => "Cherubi",74 => "Floatzel",84 => "Buizel",94 => "Pachirisu",104 => "Vespiquen",114 => "Combee",124 => "Mothim",134 => "Wormadam",144 => "Burmy",154 => "Bastiodon",164 => "Shieldon",174 => "Rampardos",184 => "Cranidos",194 => "Roserade",204 => "Budew",214 => "Luxray",224 => "Luxio",234 => "Shinx",244 => "Kricketune",254 => "Kricketot",
15 => "Bibarel", 25 => "Bidoof", 35 => "Staraptor", 45 => "Staravia", 55 => "Starly", 65 => "Empoleon", 75 => "Prinplup", 85 => "Piplup", 95 => "Infernape", 105 => "Monferno", 115 => "Chimchar", 125 => "Torterra", 135 => "Grotle", 145 => "Turtwig",
//3º GENERATION
155 => "Deoxys", 165 => "Jirachi", 175 => "Rayquaza",185 => "Groudon", 195 => "Kyogre", 205 => "Latios", 215 => "Latias", 225 => "Registeel", 235 => "Regice", 245 => "Regirock", 255 => "Metagross",
16 => "Metang", 26 => "Beldum", 36 => "Salamence", 46 => "Shelgon", 56 => "Bagon", 66 => "Luvdisc", 76 => "Relicanth", 86 => "Gorebyss", 96 => "Huntail", 106 => "Clamperl", 116 => "Walrein", 126 => "Sealeo", 136 => "Spheal", 146 => "Glalie", 156 => "Snorunt", 166 => "Wynaut", 176 => "Absol", 186 => "Chimecho", 196 => "Tropius", 206 => "Dusclops", 216 => "Duskull", 226 => "Banette", 236 => "Shuppet", 246 => "Kecleon", 256 => "Castform",
17 => "Milotic", 27 => "Feebas", 37 => "Armaldo", 47 => "Anorith", 57 => "Cradily", 67 => "Lileep", 77 => "Claydol", 87 => "Baltoy", 97 => "Crawdaunt", 107 => "Corphish", 117 => "Whiscash", 127 => "Barboach", 137 => "Solrock", 147 => "Lunatone", 157 => "Seviper", 167 => "Zangoose", 177 => "Altaria", 187 => "Swablu", 197 => "Cacturne", 207 => "Cacnea", 217 => "Flygon", 227 => "Vibrava", 237 => "Trapinch", 247 => "Spinda", 257 => "Grumpig",
18 => "Spoink", 28 => "Torkoal", 38 => "Camerupt", 48 => "Numel", 58 => "Wailord", 68 => "Wailmer", 78 => "Sharpedo", 88 => "Carvanha", 98 => "Swalot", 108 => "Gulpin", 118 => "Roselia", 128 => "Illumise", 138 => "Volbeat", 148 => "Minun", 158 => "Plusle", 168 => "Manectric", 178 => "Electrike", 188 => "Medicham", 198 => "Meditite", 208 => "Aggron", 218 => "Lairon", 228 => "Aron", 238 => "Mawile", 248 => "Sableye", 258 => "Delcatty",
19 => "Skitty", 29 => "Nosepass", 39 => "Azurill", 49 => "Hariyama", 59 => "Makuhita", 69 => "Exploud", 79 => "Loudred", 89 => "Whismur", 99 => "Shedinja", 109 => "Ninjask", 119 => "Nincada", 129 => "Slaking", 139 => "Vigoroth", 149 => "Slakoth", 159 => "Breloom", 169 => "Shroomish", 179 => "Masquerain", 189 => "Surskit", 199 => "Gardevoir", 209 => "Kirlia", 219 => "Ralts", 229 => "Pelipper", 239 => "Wingull", 249 => "Swellow", 259 => "Taillow",
110 => "Shiftry", 210 => "Nuzleaf", 310 => "Seedot", 410 => "Ludicolo", 510 => "Lombre", 610 => "Lotad", 710 => "Dustox", 810 => "Cascoon", 910 => "Beautifly", 1010 => "Silcoon", 1110 => "Wurmple", 1210 => "Linoone", 1310 => "Zigzagoon", 1410 => "Mightyena", 1510 => "Poochyena", 1610 => "Swampert", 1710 => "Marshtomp", 1810 => "Mudkip", 1910 => "Blaziken", 2010 => "Combusken", 2110 => "Torchic", 2210 => "Sceptile", 2310 => "Grovyle", 2410 => "Treecko",
//2º GENERATION
2510 => "Celebi",111 => "Ho-Oh", 211 => "Lugia",311 => "Tyranitar", 411 => "Pupitar", 511 => "Larvitar", 611 => "Suicune", 711 => "Entei", 811 => "Raikou", 911 => "Blissey", 1011 => "Miltank", 1111 => "Magby", 1211 => "Elekid", 1311 => "Smoochum", 1411 => "Hitmontop", 1511 => "Tyrogue", 1611 => "Smeargle", 1711 => "Stantler", 1811 => "Porygon2", 1911 => "Donphan", 2011 => "Phanpy", 2111 => "Kingdra", 2211 => "Houndoom", 2311 => "Houndour", 2411 => "Skarmory", 2511 => "Mantine",
112 => "Delibird", 212 => "Octillery", 312 => "Remoraid", 412 => "Corsola", 512 => "Piloswine", 612 => "Swinub", 712 => "Magcargo", 812 => "Slugma", 912 => "Ursaring", 1012 => "Teddiursa", 1112 => "Sneasel", 1212 => "Heracross", 1312 => "Shuckle", 1412 => "Scizor", 1512 => "Qwilfish", 1612 => "Granbull", 1712 => "Snubbull", 1812 => "Steelix", 1912 => "Gligar", 2012 => "Dunsparce", 2112 => "Forretress", 2212 => "Pineco", 2312 => "Girafarig", 2412 => "Wobbuffet", 2512 => "Unown",
113 => "Misdreavus", 213 => "Slowking", 313 => "Murkrow", 413 => "Umbreon", 513 => "Espeon", 613 => "Quagsire", 713 => "Wooper", 813 => "Yanma", 913 => "Sunflora", 1013 => "Sunkern", 1113 => "Aipom", 1213 => "Jumpluff", 1313 => "Skiploom", 1413 => "Hoppip", 1513 => "Politoed", 1613 => "Sudowoodo", 1713 => "Azumarill", 1813 => "Marill", 1913 => "Bellossom", 2013 => "Ampharos", 2113 => "Flaaffy", 2213 => "Mareep", 2313 => "Xatu", 2413 => "Natu", 2513 => "Togetic",
114 => "Togepi", 214 => "Igglybuff", 314 => "Cleffa", 414 => "Pichu", 514 => "Lanturn", 614 => "Chinchou", 714 => "Crobat", 814 => "Ariados", 914 => "Spinarak", 1014 => "Ledian", 1114 => "Ledyba", 1214 => "Noctowl", 1314 => "Hoothoot", 1414 => "Furret", 1514 => "Sentret", 1614 => "Feraligatr", 1714 => "Croconaw", 1814 => "Totodile", 1914 => "Typhlosion", 2014 => "Quilava", 2114 => "Cyndaquil", 2214 => "Meganium", 2314 => "Bayleef", 2414 => "Chikorita",
//1º GENERATION
2514 => "Mew",115 => "Mewtwo", 215 => "Dragonite",315 => "Dragonair", 415 => "Dratini", 515 => "Moltres", 615 => "Zapdos", 715 => "Articuno", 815 => "Snorlax", 915 => "Aerodactyl", 1015 => "Kabutops", 1115 => "Kabuto", 1215 => "Omastar", 1315 => "Omanyte", 1415 => "Porygon", 1515 => "Flareon", 1615 => "Jolteon", 1715 => "Vaporeon", 1815 => "Eevee", 1915 => "Ditto", 2015 => "Lapras", 2115 => "Gyarados", 2215 => "Magikarp", 2315 => "Tauros", 2415 => "Pinsir", 2515 => "Magmar",
116 => "Electabuzz", 216 => "Jynx", 316 => "Scyther", 416 => "Mr. Mime", 516 => "Starmie", 616 => "Staryu", 716 => "Seaking", 816 => "Goldeen", 916 => "Seadra", 1016 => "Horsea", 1116 => "Kangaskhan", 1216 => "Tangela", 1316 => "Chansey", 1416 => "Rhydon", 1516 => "Rhyhorn", 1616 => "Weezing", 1716 => "Koffing", 1816 => "Lickitung", 1916 => "Hitmonchan", 2016 => "Hitmonlee", 2116 => "Marowak", 2216 => "Cubone", 2316 => "Exeggutor", 2416 => "Exeggcute", 2516 => "Electrode",
117 => "Voltorb", 217 => "Kingler", 317 => "Krabby", 417 => "Hypno", 517 => "Drowzee", 617 => "Onix", 717 => "Gengar", 817 => "Haunter", 917 => "Gastly", 1017 => "Cloyster", 1117 => "Shellder", 1217 => "Muk", 1317 => "Grimer", 1417 => "Dewgong", 1517 => "Seel", 1617 => "Dodrio", 1717 => "Doduo", 1817 => "Farfetch'd", 1917 => "Magneton", 2017 => "Magnemite", 2117 => "Slowbro", 2217 => "Slowpoke", 2317 => "Rapidash", 2417 => "Ponyta", 2517 => "Golem",
118 => "Graveler", 218 => "Geodude", 318 => "Tentacruel", 418 => "Tentacool", 518 => "Victreebel", 618 => "Weepinbell", 718 => "Bellsprout", 818 => "Machamp", 918 => "Machoke", 1018 => "Machop", 1118 => "Alakazam", 1218 => "Kadabra", 1318 => "Abra", 1418 => "Poliwrath", 1518 => "Poliwhirl", 1618 => "Poliwag", 1718 => "Arcanine", 1818 => "Growlithe", 1918 => "Primeape", 2018 => "Mankey", 2118 => "Golduck", 2218 => "Psyduck", 2318 => "Persian", 2418 => "Meowth", 2518 => "Dugtrio",
119 => "Diglett", 219 => "Venomoth", 319 => "Venonat", 419 => "Parasect", 519 => "Paras", 619 => "Vileplume", 719 => "Gloom", 819 => "Oddish", 919 => "Golbat", 1019 => "Zubat", 1119 => "Wigglytuff", 1219 => "Jigglypuff", 1319 => "Ninetales", 1419 => "Vulpix", 1519 => "Clefable", 1619 => "Clefairy", 1719 => "Nidoking", 1819 => "Nidorino", 1919 => "Nidoran", 2019 => "Nidoqueen", 2119 => "Nidorina", 2219 => "Nidoran", 2319 => "Sandslash", 2419 => "Sandshrew", 2519 => "Raichu",
120 => "Pikachu", 220 => "Arbok", 320 => "Ekans", 420 => "Fearow", 520 => "Spearow", 620 => "Raticate", 720 => "Rattata", 820 => "Pidgeot", 920 => "Pidgeotto", 1020 => "Pidgey", 1120 => "Beedrill", 1220 => "Kakuna", 1320 => "Weedle", 1420 => "Butterfree", 1520 => "Metapod", 1620 => "Caterpie", 1720 => "Blastoise", 1820 => "Wartortle", 1920 => "Squirtle", 2020 => "Charizard", 2120 => "Charmeleon", 2220 => "Charmander", 2320 => "Venusaur", 2420 => "Ivysaur", 2520 => "Bulbasaur"
);
// CSS Y DIV. NO MOVER
?>
<style type="text/css">
#nav {
background-image:url('1.png');
width:80px;
height:80px;
background-position: <?php echo $width; ?>px <?php echo $height; ?>px;
border:2px solid black;
}
</style>
<div id="nav"></div>
<?php
//POSIBLES NOMBRES Y EL CORRECTO ( OPTION 1 )
$answers = array (
1 => $names[$option1],
2 => $names[$option2],
3 => $names[$option3],
4 => $names[$option4]
);
// MEZCLADOR DE OPCIONES
$shuffeling = array(
0 => "<input type='radio' name='option' value='1'>$answers[1]",
1 => "<input type='radio' name='option' value='2'>$answers[2]",
2 => "<input type='radio' name='option' value='3'>$answers[3]",
3 => "<input type='radio' name='option' value='4'>$answers[4]"
);
shuffle($shuffeling);
//FORM DEL SCRIPT
echo "<form action='' method='post'>";
foreach ($shuffeling as $final){
echo "$final <br>";
}
echo "<input type='submit' name='submit' value='SELECT'></form>";
//COMPROBADOR DE SI LA RESPUESTA ES CORRECTA
if (isset($_POST['submit'])) {
if (!empty($_POST['option'])) {
if ($_POST['option']=="1") {
echo "<style type='text/css'> #nav {border:2px solid #29d903;}</style>";
}
else {
echo " <style type='text/css'> #nav {border:2px solid red;}</style>";
}
} else { }
} else { }
?>
enjoy.