A little web tool to identify power-up panels in New Super Mario Bros. Wii.
- Start https://wischi-chr.github.io/MarioWiiPowerUps/
- Open the highlighted section in-game
- Click shown item and repeat.
- Profit - Get all power-ups
In 2016 I wrote a little (quick & dirty) prototype in C# (WPF) to solve power up panels, but it wasn't very practical because it was windows-only and you'd need to start a PC or notebook just to help with a few power-up panels. So I decided to make a web app and ported it with bridge.net. Because I hate fiddling with HTML and CSS I used a canvas and drew everything by code ;-) Not the best option but it does the job for this tool. At the moment the code is bit of a mess (and I probably won't fix that, because it's not worth it) so be kind to it 😄
There is a fixed set of power-up panels in New Super Mario Bros. Wii (see MarioPowerUpBoard.txt) and the software calculates (based on the input) what fields you should open next.
The algorithm (currently - it went through a few iterations) uses a few heuristics to determine what the next best candidate is. It takes into account which fields are bowsers (it will never suggest a matching bowser), the distance to the previous opened field (so you can reach it fast in-game) and the entropy of the field. The algorithm needs 3 ± 1 steps to solve the entire panel. We had a "faster" algorithm in the past, but it wasn't as practical, because it suggested more bowsers (also never a matching pair) and didn't take the moving distance in-game into account.
This tool is a PWA and you can add it to your home screen on many platforms (only tested with chrome and android) and it will launch in landscape mode and full screen.