![]() |
#1 |
Knight
Join Date: Jan 2017
Posts: 602
![]() |
Experimental webserver
Okay I know I have two threads already but for the sake of having a releveant title here's a new one.
I've set up a server where you can login and play angband or an available variant online: http://angband.live/ The code for the server is here: https://github.com/OwenGHB/angband-webclient It's still very much in an experimental stage. It isn't pretty yet but you can play angband on it. Features I'm going to add soon are spectating, recording, and watching recorded games. I want to add simple per-game chatrooms where spectators can comment on live games. Then there are long term plans I have - I'll keep the thread updated as I go. Pull requests etc welcome. Last edited by Gwarl; May 23, 2017 at 22:17. |
![]() |
![]() |
![]() |
#2 |
Veteran
Join Date: Apr 2008
Location: Germany
Posts: 1,569
![]() |
So how do i create an account ?
![]() |
![]() |
![]() |
![]() |
#3 |
Knight
Join Date: Jan 2017
Posts: 602
![]() |
Hitting register once gives the 'confirm password' field, if you hit register again and the passwords match you get an account. It's surprisingly hard to make login forms that aren't horribly confusing - I know this one needs work, I just thought I'd send it live rightaway rather than waiting to get everything perfect.
|
![]() |
![]() |
![]() |
#4 |
Knight
Join Date: Dec 2008
Posts: 600
![]() |
Cool- Angband worked (via Firefox on OSX if it matters). It feels a little slower than normal but not too horrible. I'll have to figure out the commands- tried to quit and ended up closing out my whole browser lol.
Definitely excited to try Pos- I haven't played yet because of the whole osx thing. |
![]() |
![]() |
![]() |
#5 | |
Knight
Join Date: Jan 2017
Posts: 602
![]() |
Quote:
Although now I think about it if angband were compiled directly into wasm one could serve up binaries to be run on the client and then open a socket to the server to share the output between users, which would alleviate the cpu load on the server. It would not be quite as secure against cheating but that probably isn't a huge concern. I might try that at some point, but this works for now and I need to build interfaces for the site anyway. And yeah, making it easy to try new variants without hunting them down and compiling them was a big motivation behind doing this. The setup process for each variant is slightly different though. I'll start adding more in one by one, Sil is a high priority but it's particularly difficult to work with and will need me to make a few changes to the code to get the directory/save file handling more in line with other variants. It would be nice to eventually get the entire angband plus repository compiled and available to play. Last edited by Gwarl; May 9, 2017 at 12:57. |
|
![]() |
![]() |
![]() |
#6 |
Knight
Join Date: Jan 2017
Posts: 602
![]() |
Spectating games is now possible (the list of live games is somewhat buggy), but will be more fun after I add a chat box - possibly embedding the irc channel. Code changes are on github. In no particular order the other things to do next are updating poschengband to the latest version, adding routines to get, compile and replace the latest version of the V development branch, use ttyrec for recording games, and provide links to download character dumps. Expanding the list of variants would also be nice (NPP and ToME 2.4.~ are at the top of the list. No Sil yet, sorry).
After all that, I'll add a game mode to use a current competition savefile/variant, hopefully by the time the next one comes around. |
![]() |
![]() |
![]() |
#7 |
Knight
Join Date: Jan 2017
Posts: 602
![]() |
The site is back up at a new address:
http://angband.live Includes an extra variant, the development branch of V, and a live borg |
![]() |
![]() |
![]() |
#8 | |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 53
Posts: 7,356
Donated: $60
![]() |
Quote:
One slight issue with the borg - when I first go to it, the sidebar doesn't show (or sometimes shows partially and with some other stuff in it), then after a while it appears and is all good after that.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
|
![]() |
![]() |
![]() |
#9 | |
Knight
Join Date: Jan 2017
Posts: 602
![]() |
Quote:
Next is working on an inline chat (the borg might get an alice style chatbot), recording games and providing links to character/screen dumps etc. |
|
![]() |
![]() |
![]() |
#10 |
Veteran
Join Date: Apr 2008
Location: Germany
Posts: 1,569
![]() |
No way to display borg equipment and other stats ?
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|