rastapasta / mapscii

🗺 MapSCII is a Braille & ASCII world map renderer for your console - enter => telnet mapscii.me <= on Mac (brew install telnet) and Linux, connect with PuTTY on Windows
MIT License
7.93k stars 256 forks source link

Binding events for external use #66

Open guyisra opened 5 years ago

guyisra commented 5 years ago

Is it possible to add custom events so via a click I can retrieve coordinates and then use them in other libraries, so mapscii can be used as a lib as well?

thanks

jaller94 commented 5 years ago

Not yet without forking. There are other ideas like #2, which I think are out of scope of the core project and would benefit from a library or add-on system.

I would like the core project small, as it's not actively maintained but still a really cool project we should ensure to keep around.

jaller94 commented 4 years ago

A JavaScript developer should able to create binding while taking src/Mapscii.js as a starting point.

An interesting statement regarding external use has been made by the author here: https://github.com/rastapasta/mapscii/issues/27#issuecomment-544001117