So I feel like a good way to expand the game's reach might be to implement tiles/graphics for online play. I am just brainstorming about how to do this.
Obviously DCSS manages it somehow. I'm not quite sure how it works, I asked one of the devs many years ago who said it 'spits out a bunch of JSON'.
There was this attempt by takkaria at writing a native web frontend for angband: https://github.com/takkaria/angband-webterm but I'm not completely sure what it is or how it works.
Angband.live currently uses pseudoterminals forked from the main process to plug the variants in. This is suitable since being able to play in a terminal is more or less the common thread which unites most variants. When I first created the site it used the pty.js library, now unmaintained, since forked by microsoft as node-pty and incompatible with the two most recent nodejs stable versions, but I digress. I don't think this is what DCSS does for webtiles.
I can theorise one might be able to spawn a process on the server not as a terminal and then perhaps pass messages in real time to stdIn and pull them from stdOut and then one could write a client program eg a webserver to work with the interface. I'm not sure.
If someone could help me with the angband side of things I could probaby write the client/UI part of it. Or even if anyone knows how the main-xxx.c files work and could give me an explanation it might be food for thought.
Obviously DCSS manages it somehow. I'm not quite sure how it works, I asked one of the devs many years ago who said it 'spits out a bunch of JSON'.
There was this attempt by takkaria at writing a native web frontend for angband: https://github.com/takkaria/angband-webterm but I'm not completely sure what it is or how it works.
Angband.live currently uses pseudoterminals forked from the main process to plug the variants in. This is suitable since being able to play in a terminal is more or less the common thread which unites most variants. When I first created the site it used the pty.js library, now unmaintained, since forked by microsoft as node-pty and incompatible with the two most recent nodejs stable versions, but I digress. I don't think this is what DCSS does for webtiles.
I can theorise one might be able to spawn a process on the server not as a terminal and then perhaps pass messages in real time to stdIn and pull them from stdOut and then one could write a client program eg a webserver to work with the interface. I'm not sure.
If someone could help me with the angband side of things I could probaby write the client/UI part of it. Or even if anyone knows how the main-xxx.c files work and could give me an explanation it might be food for thought.
Comment