Note:-This game has been discontinued from facebook.
Fun mathematics game that will turn you mad. Well not literally.
you can play the game at https://apps.facebook.com/madvsmath/
OR
visit https://38candies.com/
In order to use this project you will need to set a facebook app and then provide a link to the code. Make sure that the link is https. I have used facebook javascript sdk to connect to facebook app. You can read docs from this link https://developers.facebook.com/docs/javascript
replace "username" and "password" with the credentials of your database in config.php