willowtreeapps / wombats-api

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

Feature/#149 smoke #212

Closed oconn closed 7 years ago

oconn commented 7 years ago

Feature Smoke

Background

Smoke is an action that allows wombats to hide behind cover from enemies. All players cannot see through smoke which is reflected in the arena maps they receive during their turn.

players can throw smoke in any direction or drop it straight down.

(def smoke-directions [:forward :backward :left :right :drop])

{:action :smoke
  :metadata {:direction (rand-nth smoke-directions)}}