willowtreeapps / wombats-api

Wombats API
https://github.com/willowtreeapps/wombats-documentation
MIT License
10 stars 4 forks source link

Spec Lambda #331

Open dehli opened 7 years ago

dehli commented 7 years ago

BEFORE SUBMITTING AN ISSUE CHECK THE FOLLOWING:

FEATURE REQUEST?

Currently, if your wombat's code returns an invalidly formatted object the API accepts the response and does nothing to your bot. The API should know to respond that the code responded incorrectly.

Ex:

{:command {:actio :move}}

should result in the API brining it to the user's attention that the response is invalid (typo in action).

oconn commented 7 years ago

This includes spec-ing game-state on ingest for frame-processing in the simulator prior to sending to Lambda