This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is an analyis of the Pokemon Global Link Balloon Popping attraction, original source code: | |
// http://3ds.pokemon-gl.com/pc/pokemonfesta/13816710-1dd2-11b2-0000-242d50cf1ff7/js/attraction.js | |
// Related variables: | |
Config.rank=[15,27,45,10,3]; // The percentage for each rank: Rank E - Rank A | |
Config.rankScore=[30,50,70,80,100]; // The maximum score for each rank: Rank E - Rank A | |
// This function is initialised when the application reaches the result screen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// src/Form/Request/FooRequest.php | |
namespace App\Form\Request; | |
use App\Validator\Constraints as AssertApp; | |
/** | |
* @AssertApp\UniqueEntity("bar", entityClass="App\Entity\Foo") | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Very simple PSR-4 compatible autoloader | |
*/ | |
function __autoload($className) | |
{ | |
/** | |
* Specify Directories | |
* |