ASPP / pelita

Actor-based Toolkit for Interactive Language Education in Python
https://github.com/ASPP/pelita_template
Other
62 stars 68 forks source link

Is there any Web UI Viewer? #783

Open SeanQuant opened 11 months ago

SeanQuant commented 11 months ago

Thanks for your amazing application. The existing TkViewer now looks beautiful. But in some cases, I find it easier and more convenient to view in a web brower instead. So I wonder if there are any solutions that have been already implemented? thx again.

Debilski commented 10 months ago

Hi, we did have some experiments with web viewers a few times (for example #284 is based on a Python web server that displays in a Jupyter iframe). But they turned out to be too cumbersome to maintain and did not give too much of an advantage over the regular viewers. (The implementations were mostly passive, meaning it would be not be possible to control Pelita from the web interface.) The best we have currently is the html representation on Bot, meaning that you can just view a Bot object from Jupyter and have the maze displayed there as well – as the bot sees it –, but having a proper game viewer in the web is not possible.