Skip to content

Instantly share code, notes, and snippets.

@assembledadam
Created December 18, 2015 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save assembledadam/8c25c24956cc496a9203 to your computer and use it in GitHub Desktop.
Save assembledadam/8c25c24956cc496a9203 to your computer and use it in GitHub Desktop.
Embera bug testcase
<?php
$text = "For anyone that's unaware, 2003's Mario & Luigi: Superstar Saga is one of the best Mario games you've never played. The franchise as a whole has been consistently entertaining too, which makes its relatively quiet buzz every time a new one is released slightly confusing. Its fan base has remained solid and, to a point, niche rather than grow into an excited mob. It's perhaps with this in mind that Mario & Luigi: Paper Jam Bros. has looked to evolve without ignoring its roots.
For those not aware, the DS (and now 3DS) run of games have always focused around the two brothers and how you as the player can make them work together. Battles are turn-based and every action from puzzling to platforming involves both Mario and Luigi. You even control how they jump independently.
The key to its success has been how well Nintendo has made this work over the years. As seamless as it is satisfying, it gives the series a unique feel whose only real comparison is Paper Mario. Hence why the two have now finally met.
embed://videogamer.com/media/mario-luigi-paper-jam
Pushed together to try and invigorate both, Paper Jam is very much an amalgamation of the two. The staples of previous Mario RPG games return, but with some Paper Mario 2D sprinklings on top. That means paper toads, paper goombas, paper environments, paper items. It never dominates, mind, the focus very much being on how adding a third hero (Paper Mario himself) expands what's possible.
Mario & Luigi has always impressed when giving you 'Bros Attacks' to dish out, often asking to interact with ridiculous, yet enjoyable, scenarios. Rather than use a red shell to kick at an enemy, for example, the plumbers will take turns booting it into an enemy's face, the skill coming in how long you can keep it going from smartly-timed button presses. It's not only the reason the battle mechanic remains so pleasing all these years later, but also how subsequent sequels have managed to follow suit.
embed://videogamer.com/media/mario-luigi-paper-jam-something
Paper Jam takes this idea even further. The addition of Paper Mario means you can now use 'Trio Attacks' to your advantage: they may merely ask you jump from the A button, to the B button, to the Y button, but the speed and rhythm it chooses is just a touch more challenging than you'd expect.
embed://videogamer.com/media/mario-luigi-paper-jam5
Our new friend also introduces an entirely new wave of both offensive options and enemies to defeat. Paper Mario can make copies of himself, for instance, allowing him to jump multiple times on someone's head, while opponents made out of paper have different attributes to those that aren't. It's constantly trying to find ways to keep proceedings interesting and different, even when you're hours into the thing. If you're a fan of both series there's nothing too far out of left field that will surprise, but the bringing together of both works simply by embracing pro-wrestling legend Paul Heyman's number one rule: Play to your strengths. Ignore the weaknesses.
embed://videogamer.com/media/mario-luigi-paper-jam6
The desire to always surprise runs true throughout. While the core experience remains more or the less the same, Paper Jam is always only a few moments away from throwing a one-off gimmick or pleasant diversion in your face. This could be the ongoing...";
$data = [
'embed://videogamer.com/media/mario-luigi-paper-jam' => '<img src="some/mario-luigi-paper-jam.jpg">',
'embed://videogamer.com/media/mario-luigi-paper-jam-something' => '<img src="some/mario-luigi-paper-jam-something.jpg">',
'embed://videogamer.com/media/mario-luigi-paper-jam5' => '<img src="some/mario-luigi-paper-jam5.jpg">',
'embed://videogamer.com/media/mario-luigi-paper-jam6' => '<img src="some/mario-luigi-paper-jam6.jpg">'
];
$result = str_replace(array_keys($data), array_values($data), $text);
print_r(nl2br($result));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment