Captcha Mario is a fork project from fullscreenmario.com, a free HTML5 remake of Nintendo's original Super Mario Bros, expanded for the modern web. It includes the original 32 levels, a random map generator, a level editor, and over a dozen custom mods.
Conceptually speaking, the reason behind Captcha Mario is to provide a funny way to validate that forms are being filled by actual users. It integrates an abstraction layer, written in AngularJs, to provide callback methods whenever relevant actions are triggered.
Please note this is NOT intended to be a serious project, so it's not suitable for production environments. Use it at your own risk :).
1 - Install Captcha mario using Bower
bower install git@github.com:rmallols/FullScreenMario.git.
2 - Load the angularWrapper.js
directive, located at Source/Wrappers
.
3 - Include the captcha-mario
AngularJs module as a dependency of your app.
4 - Include the captcha-mario
AngularJs directive, specifying any of the callbacks described below.
onDead()
The user could be considered as a not human.
The game is restarted.
Parameters
-
Returns
-
onLevelComplete()
Mario has completed the level. The user could be considered as a human.
The game is ended.
Parameters
-
Returns
-