home · contact · privacy
plomrogue2-experiments
3 years agoRegister game commands and tasks outside of game module. master
Christian Heller [Mon, 9 Nov 2020 23:27:34 +0000 (00:27 +0100)]
Register game commands and tasks outside of game module.

3 years agoImprove SSL negotation.
Christian Heller [Mon, 9 Nov 2020 22:55:46 +0000 (23:55 +0100)]
Improve SSL negotation.

3 years agoMake curses client PING.
Christian Heller [Mon, 9 Nov 2020 21:45:51 +0000 (22:45 +0100)]
Make curses client PING.

3 years agoAdd TERRAIN and PLAYER lines to curses client study view.
Christian Heller [Sun, 8 Nov 2020 02:39:28 +0000 (03:39 +0100)]
Add TERRAIN and PLAYER lines to curses client study view.

3 years agoFix same keybinding bug in curses client.
Christian Heller [Sun, 8 Nov 2020 02:32:39 +0000 (03:32 +0100)]
Fix same keybinding bug in curses client.

3 years agoUse default colours in ncurses client.
Christian Heller [Sun, 8 Nov 2020 02:13:59 +0000 (03:13 +0100)]
Use default colours in ncurses client.

3 years agoOnly send PONG to connection_id that sent the PING.
Christian Heller [Sun, 8 Nov 2020 01:55:20 +0000 (02:55 +0100)]
Only send PONG to connection_id that sent the PING.

3 years agoFix minor keybinding bug in web client.
Christian Heller [Sun, 8 Nov 2020 01:43:04 +0000 (02:43 +0100)]
Fix minor keybinding bug in web client.

3 years agoAnnounce players leaving the map.
Christian Heller [Sun, 8 Nov 2020 01:28:58 +0000 (02:28 +0100)]
Announce players leaving the map.

3 years agoAdd thing collision detection on movement.
Christian Heller [Sun, 8 Nov 2020 01:16:16 +0000 (02:16 +0100)]
Add thing collision detection on movement.

3 years agoIn curses client remove quitting command used for debugging.
Christian Heller [Sun, 8 Nov 2020 01:15:55 +0000 (02:15 +0100)]
In curses client remove quitting command used for debugging.

3 years agoImprove keybinding help in web client.
Christian Heller [Sun, 8 Nov 2020 01:15:39 +0000 (02:15 +0100)]
Improve keybinding help in web client.

3 years agoMore expressive customization option labels in web client.
Christian Heller [Sun, 8 Nov 2020 00:57:56 +0000 (01:57 +0100)]
More expressive customization option labels in web client.

3 years agoUse local storage for web client cusotmizations.
Christian Heller [Sun, 8 Nov 2020 00:50:21 +0000 (01:50 +0100)]
Use local storage for web client cusotmizations.

3 years agoAdd default new keybindings in-code and in-file to curses client.
Christian Heller [Sun, 8 Nov 2020 00:28:44 +0000 (01:28 +0100)]
Add default new keybindings in-code and in-file to curses client.

3 years agoChange default web client keybindings.
Christian Heller [Sun, 8 Nov 2020 00:06:40 +0000 (01:06 +0100)]
Change default web client keybindings.

3 years agoFor short / commands, use keybindings.
Christian Heller [Sun, 8 Nov 2020 00:01:49 +0000 (01:01 +0100)]
For short / commands, use keybindings.

3 years agoRefactor web client keybindings code.
Christian Heller [Sat, 7 Nov 2020 23:59:37 +0000 (00:59 +0100)]
Refactor web client keybindings code.

3 years agoMake curses client capable of websocket _and_ raw tcp connections.
Christian Heller [Sat, 7 Nov 2020 23:42:35 +0000 (00:42 +0100)]
Make curses client capable of websocket _and_ raw tcp connections.

3 years agoMake keybindings configurable.
Christian Heller [Sat, 7 Nov 2020 20:28:35 +0000 (21:28 +0100)]
Make keybindings configurable.

3 years agoRemove command char configurability, hardcode '/'.
Christian Heller [Sat, 7 Nov 2020 18:45:30 +0000 (19:45 +0100)]
Remove command char configurability, hardcode '/'.

3 years agoWiden Square view, too.
Christian Heller [Fri, 6 Nov 2020 03:13:50 +0000 (04:13 +0100)]
Widen Square view, too.

3 years agoEnforce rows number as multiple of 4 in both clients, for smoother hex scrolling.
Christian Heller [Fri, 6 Nov 2020 02:50:04 +0000 (03:50 +0100)]
Enforce rows number as multiple of 4 in both clients, for smoother hex scrolling.

3 years agoFix curses client movement help.
Christian Heller [Fri, 6 Nov 2020 01:57:02 +0000 (02:57 +0100)]
Fix curses client movement help.

3 years agoImprove client keybinding logic.
Christian Heller [Fri, 6 Nov 2020 01:52:32 +0000 (02:52 +0100)]
Improve client keybinding logic.

3 years agoAutomatically log in if login name already provided previously.
Christian Heller [Fri, 6 Nov 2020 01:25:55 +0000 (02:25 +0100)]
Automatically log in if login name already provided previously.

3 years agoImprove teleportation handling.
Christian Heller [Fri, 6 Nov 2020 00:51:26 +0000 (01:51 +0100)]
Improve teleportation handling.

3 years agoAdd Hex map capabilities.
Christian Heller [Fri, 6 Nov 2020 00:34:33 +0000 (01:34 +0100)]
Add Hex map capabilities.

3 years agoEnsure rough feature parity between clients.
Christian Heller [Thu, 5 Nov 2020 21:16:08 +0000 (22:16 +0100)]
Ensure rough feature parity between clients.

3 years agoFix screen jumping around.
Christian Heller [Wed, 4 Nov 2020 05:02:25 +0000 (06:02 +0100)]
Fix screen jumping around.

3 years agoMinor client improvements.
Christian Heller [Wed, 4 Nov 2020 04:36:29 +0000 (05:36 +0100)]
Minor client improvements.

3 years agoMore quote fixing.
Christian Heller [Wed, 4 Nov 2020 04:34:13 +0000 (05:34 +0100)]
More quote fixing.

3 years agoWhitespace riddance and some quote bug fixes.
Christian Heller [Wed, 4 Nov 2020 03:42:06 +0000 (04:42 +0100)]
Whitespace riddance and some quote bug fixes.

3 years agoExtend ncurses client functionality.
Christian Heller [Wed, 4 Nov 2020 03:41:29 +0000 (04:41 +0100)]
Extend ncurses client functionality.

3 years agoFix/simplify PlomSocket code.
Christian Heller [Wed, 4 Nov 2020 00:17:20 +0000 (01:17 +0100)]
Fix/simplify PlomSocket code.

3 years agoOnly count chat input as command if line starts with ":" (not " :").
Christian Heller [Mon, 2 Nov 2020 13:44:50 +0000 (14:44 +0100)]
Only count chat input as command if line starts with ":" (not " :").

3 years agoPrevent mode switch command char spilling over from leaving study mode.
Christian Heller [Mon, 2 Nov 2020 13:39:19 +0000 (14:39 +0100)]
Prevent mode switch command char spilling over from leaving study mode.

3 years agoMake command char editable.
Christian Heller [Mon, 2 Nov 2020 13:38:44 +0000 (14:38 +0100)]
Make command char editable.

3 years agoAdd initial stage of curses client.
Christian Heller [Mon, 2 Nov 2020 04:54:43 +0000 (05:54 +0100)]
Add initial stage of curses client.

3 years agoRemove unnecessary condition.
Christian Heller [Mon, 2 Nov 2020 04:52:49 +0000 (05:52 +0100)]
Remove unnecessary condition.

3 years agoUse terminal-size-indepenent max log length.
Christian Heller [Mon, 2 Nov 2020 04:07:46 +0000 (05:07 +0100)]
Use terminal-size-indepenent max log length.

3 years agoSimplify PlomSocket code.
Christian Heller [Mon, 2 Nov 2020 03:35:58 +0000 (04:35 +0100)]
Simplify PlomSocket code.

3 years agoDe-hardcode cert and key file for PlomSocketSSL.
Christian Heller [Mon, 2 Nov 2020 03:27:56 +0000 (04:27 +0100)]
De-hardcode cert and key file for PlomSocketSSL.

3 years agoAdd SSL capabilities to TCP socket library.
Christian Heller [Mon, 2 Nov 2020 02:50:13 +0000 (03:50 +0100)]
Add SSL capabilities to TCP socket library.

3 years agoAllow remote connections into TCP server.
Christian Heller [Mon, 2 Nov 2020 01:47:12 +0000 (02:47 +0100)]
Allow remote connections into TCP server.

3 years agoAdd terrain info.
Christian Heller [Sun, 1 Nov 2020 03:31:53 +0000 (04:31 +0100)]
Add terrain info.

3 years agoAdd player name visibility via study mode.
Christian Heller [Sun, 1 Nov 2020 03:21:37 +0000 (04:21 +0100)]
Add player name visibility via study mode.

3 years agoImprove teleportation dialogue handling.
Christian Heller [Sun, 1 Nov 2020 01:49:09 +0000 (02:49 +0100)]
Improve teleportation dialogue handling.

3 years agoAdd ability to edit portals to client.
Christian Heller [Sun, 1 Nov 2020 01:47:06 +0000 (02:47 +0100)]
Add ability to edit portals to client.

3 years agoRename shows_annotations to now more precise shows_info.
Christian Heller [Sun, 1 Nov 2020 01:39:55 +0000 (02:39 +0100)]
Rename shows_annotations to now more precise shows_info.

3 years agoAdd server teleportation and :reconnect commands.
Christian Heller [Sun, 1 Nov 2020 01:37:26 +0000 (02:37 +0100)]
Add server teleportation and :reconnect commands.

3 years agoRefactor client's server interaction code.
Christian Heller [Sat, 31 Oct 2020 23:42:07 +0000 (00:42 +0100)]
Refactor client's server interaction code.

3 years agoAllow serving different protocols on different ports at the same time.
Christian Heller [Sat, 31 Oct 2020 21:48:09 +0000 (22:48 +0100)]
Allow serving different protocols on different ports at the same time.

3 years agoAdd safeguards against illegal rows/cols values.
Christian Heller [Sat, 31 Oct 2020 10:26:48 +0000 (11:26 +0100)]
Add safeguards against illegal rows/cols values.

3 years agoRefactor key movement initialization.
Christian Heller [Sat, 31 Oct 2020 10:17:03 +0000 (11:17 +0100)]
Refactor key movement initialization.

3 years agoRefactor cols, rows initialization.
Christian Heller [Sat, 31 Oct 2020 10:10:14 +0000 (11:10 +0100)]
Refactor cols, rows initialization.

3 years agoOnly include clients with sessions in send-to-all.
Christian Heller [Sat, 31 Oct 2020 10:03:59 +0000 (11:03 +0100)]
Only include clients with sessions in send-to-all.

3 years agoFixed switching to player mode before login if other user logged in.
Christian Heller [Sat, 31 Oct 2020 09:57:53 +0000 (10:57 +0100)]
Fixed switching to player mode before login if other user logged in.

3 years agoUse default player_id that cannot be mixed up.
Christian Heller [Sat, 31 Oct 2020 09:52:31 +0000 (10:52 +0100)]
Use default player_id that cannot be mixed up.

3 years agoActually hide the textarea.
Christian Heller [Sat, 31 Oct 2020 09:31:55 +0000 (10:31 +0100)]
Actually hide the textarea.

3 years agoUse hidden textarea for text input.
Christian Heller [Sat, 31 Oct 2020 09:29:57 +0000 (10:29 +0100)]
Use hidden textarea for text input.

3 years agoFix single char chat messages.
Christian Heller [Thu, 29 Oct 2020 16:18:31 +0000 (17:18 +0100)]
Fix single char chat messages.

3 years agoFix unparser.quote bug.
Christian Heller [Thu, 29 Oct 2020 16:01:21 +0000 (17:01 +0100)]
Fix unparser.quote bug.

3 years agoMinor fixes.
Christian Heller [Thu, 29 Oct 2020 04:39:01 +0000 (05:39 +0100)]
Minor fixes.

3 years agoSend game messages on player logins/renames.
Christian Heller [Thu, 29 Oct 2020 04:29:21 +0000 (05:29 +0100)]
Send game messages on player logins/renames.

3 years agoDefault to play mode after successful login.
Christian Heller [Thu, 29 Oct 2020 04:22:03 +0000 (05:22 +0100)]
Default to play mode after successful login.

3 years agoFix line wrapping on terminal resizing.
Christian Heller [Thu, 29 Oct 2020 04:20:52 +0000 (05:20 +0100)]
Fix line wrapping on terminal resizing.

3 years agoCheck server disconnect right on websocket.onclose.
Christian Heller [Thu, 29 Oct 2020 03:47:25 +0000 (04:47 +0100)]
Check server disconnect right on websocket.onclose.

3 years agoRefactor movement selector, add terminal height/width selectors.
Christian Heller [Thu, 29 Oct 2020 03:45:20 +0000 (04:45 +0100)]
Refactor movement selector, add terminal height/width selectors.

3 years agoFix buggy study mode movement mappings.
Christian Heller [Thu, 29 Oct 2020 03:16:42 +0000 (04:16 +0100)]
Fix buggy study mode movement mappings.

3 years agoAdd movement key selector to pick between arrows and WASD.
Christian Heller [Thu, 29 Oct 2020 03:11:00 +0000 (04:11 +0100)]
Add movement key selector to pick between arrows and WASD.

3 years agoImprove command keys, mode messages.
Christian Heller [Thu, 29 Oct 2020 02:18:33 +0000 (03:18 +0100)]
Improve command keys, mode messages.

3 years agoImprove help text, mode switching chars.
Christian Heller [Thu, 29 Oct 2020 02:13:34 +0000 (03:13 +0100)]
Improve help text, mode switching chars.

3 years agoRefactor TUI drawing.
Christian Heller [Thu, 29 Oct 2020 02:02:54 +0000 (03:02 +0100)]
Refactor TUI drawing.

3 years agoGuide user interaction based on server availability.
Christian Heller [Thu, 29 Oct 2020 01:34:25 +0000 (02:34 +0100)]
Guide user interaction based on server availability.

3 years agoImprove login-handling.
Christian Heller [Thu, 29 Oct 2020 01:18:17 +0000 (02:18 +0100)]
Improve login-handling.

3 years agoRe-use old annotation when writing new one.
Christian Heller [Thu, 29 Oct 2020 01:03:49 +0000 (02:03 +0100)]
Re-use old annotation when writing new one.

3 years agoImproved input prompt handling.
Christian Heller [Thu, 29 Oct 2020 00:57:22 +0000 (01:57 +0100)]
Improved input prompt handling.

3 years agoAdd blink screen on trivial errors instead of log messages.
Christian Heller [Thu, 29 Oct 2020 00:41:40 +0000 (01:41 +0100)]
Add blink screen on trivial errors instead of log messages.

3 years agoRefactor mode code.
Christian Heller [Wed, 28 Oct 2020 23:58:37 +0000 (00:58 +0100)]
Refactor mode code.

3 years agoAdd mode line.
Christian Heller [Wed, 28 Oct 2020 23:38:47 +0000 (00:38 +0100)]
Add mode line.

3 years agoDon't provide space for unused input line.
Christian Heller [Wed, 28 Oct 2020 23:24:20 +0000 (00:24 +0100)]
Don't provide space for unused input line.

3 years agoFix input backspace bug.
Christian Heller [Wed, 28 Oct 2020 23:06:07 +0000 (00:06 +0100)]
Fix input backspace bug.

3 years agoEnable multi-line input.
Christian Heller [Wed, 28 Oct 2020 22:54:16 +0000 (23:54 +0100)]
Enable multi-line input.

3 years agoSome client refactoring.
Christian Heller [Wed, 28 Oct 2020 21:23:57 +0000 (22:23 +0100)]
Some client refactoring.

3 years agoImprove Firefox experience by not using / for client commands.
Christian Heller [Wed, 28 Oct 2020 20:37:19 +0000 (21:37 +0100)]
Improve Firefox experience by not using / for client commands.

3 years agoAdd requirements.txt for SimpleWebSocketServer dependency.
Christian Heller [Wed, 28 Oct 2020 20:34:06 +0000 (21:34 +0100)]
Add requirements.txt for SimpleWebSocketServer dependency.

3 years agoFix edit mode key retrieval.
Christian Heller [Tue, 27 Oct 2020 07:02:18 +0000 (08:02 +0100)]
Fix edit mode key retrieval.

3 years agoAdd shortcuts for commands to leave chat mode.
Christian Heller [Tue, 27 Oct 2020 06:03:45 +0000 (07:03 +0100)]
Add shortcuts for commands to leave chat mode.

3 years agoInitialize (centered) map view even before login.
Christian Heller [Tue, 27 Oct 2020 05:53:26 +0000 (06:53 +0100)]
Initialize (centered) map view even before login.

3 years agoStart new players in middle of map instead of topleft corner.
Christian Heller [Tue, 27 Oct 2020 05:29:56 +0000 (06:29 +0100)]
Start new players in middle of map instead of topleft corner.

3 years agoDistribute long annotation texts onto multiple lines.
Christian Heller [Tue, 27 Oct 2020 05:13:46 +0000 (06:13 +0100)]
Distribute long annotation texts onto multiple lines.

3 years agoIntroduce god mode to protect against destructive commands.
Christian Heller [Tue, 27 Oct 2020 04:57:23 +0000 (05:57 +0100)]
Introduce god mode to protect against destructive commands.

3 years agoAllow annotations.
Christian Heller [Tue, 27 Oct 2020 04:48:54 +0000 (05:48 +0100)]
Allow annotations.

3 years agoFix QUERY/msg bug.
Christian Heller [Tue, 27 Oct 2020 02:52:43 +0000 (03:52 +0100)]
Fix QUERY/msg bug.

3 years agoSimplify log_msg.
Christian Heller [Tue, 27 Oct 2020 02:34:42 +0000 (03:34 +0100)]
Simplify log_msg.

3 years agoRename LOG to CHAT.
Christian Heller [Tue, 27 Oct 2020 02:33:28 +0000 (03:33 +0100)]
Rename LOG to CHAT.

3 years agoAdd basic explore mode info screen.
Christian Heller [Tue, 27 Oct 2020 02:18:57 +0000 (03:18 +0100)]
Add basic explore mode info screen.

3 years agoTo client, add (basic nav of) explorer mode.
Christian Heller [Tue, 27 Oct 2020 01:48:09 +0000 (02:48 +0100)]
To client, add (basic nav of) explorer mode.

3 years agoAllow space char for TASK:WRITE.
Christian Heller [Tue, 27 Oct 2020 01:08:01 +0000 (02:08 +0100)]
Allow space char for TASK:WRITE.