SendGrid demo using both Inbound Parse and Outbound Mail API
JavaScript CSS
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
controllers
public
views
.env
Procfile
README.md
app.js
gamelogic.js
package.json
routes.js

README.md

SendGrid Demo Spec

GET /game/:lifepoints

Should render the game window. Enemy should have full life when page is initially created. Else, should have the life everyone else sees.

Inbound Parse API will perform a POST to /game and this will emit to the frontend to create a mail animation which will attack the enemy. The subject will determine which id is being attacked. The FE will respond with a number which is the amount of damaged caused. This will then be replied to the original sender.

Hits will be 1-5 life points Last hit will get notified that killed the enemy and shall be awarded with something

This hacks uses nodejs, jade, html5 canvas, and of course SendGrid!