siggame / Viseur

Visualizer for the Cadre AI game framework
http://vis.siggame.io
MIT License
5 stars 9 forks source link

Update arena mode to colisee visapi #18

Open JacobFischer opened 7 years ago

JacobFischer commented 7 years ago

The new arena, colisee, has a proper visualizer api: https://github.com/siggame/colisee-visapi/

When the connection is set to "Arena", it should hit-up that API and play back a gamelog from there.

Currently the simple arena implementation is done here: https://github.com/siggame/Viseur/blob/aeb8beff4e37bb7caa6b91bcb174c60730edd934/viseur/viseur.js#L77

Ideally this would probably be moved to a separate function, complete with JSDoc comments, and updated to work with the new visapi.