home · contact · privacy
plomrogue2-experiments
4 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.

4 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.

4 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.

4 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.

4 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.

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

4 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.

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

4 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.

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

4 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.

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

4 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.

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

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

4 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.

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

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

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

4 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.

4 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.

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

4 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.

4 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.

4 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.

4 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.

4 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.

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

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

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

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

4 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.

4 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.

4 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.

4 years agoAdd MAP command to explicitely set map size.
Christian Heller [Tue, 27 Oct 2020 01:02:19 +0000 (02:02 +0100)]
Add MAP command to explicitely set map size.

4 years agoFix re-login corpses.
Christian Heller [Tue, 27 Oct 2020 00:37:08 +0000 (01:37 +0100)]
Fix re-login corpses.

4 years agoMinor client help screen improvements.
Christian Heller [Tue, 27 Oct 2020 00:36:57 +0000 (01:36 +0100)]
Minor client help screen improvements.

4 years agoImprove client control.
Christian Heller [Tue, 27 Oct 2020 00:21:48 +0000 (01:21 +0100)]
Improve client control.

4 years agoIdentify player in client so scrolling can follow them.
Christian Heller [Mon, 26 Oct 2020 23:14:38 +0000 (00:14 +0100)]
Identify player in client so scrolling can follow them.

4 years agoFix map line width check.
Christian Heller [Mon, 26 Oct 2020 23:07:02 +0000 (00:07 +0100)]
Fix map line width check.

4 years agoFix box scale/position bug.
Christian Heller [Mon, 26 Oct 2020 22:56:46 +0000 (23:56 +0100)]
Fix box scale/position bug.

4 years agoAdd scrolling to monochrome client.
Christian Heller [Mon, 26 Oct 2020 22:50:59 +0000 (23:50 +0100)]
Add scrolling to monochrome client.

4 years agoAdd monochrome no canvas chat client.
Christian Heller [Mon, 26 Oct 2020 22:00:36 +0000 (23:00 +0100)]
Add monochrome no canvas chat client.

4 years agoAdd chat without HTML5 canvas.
Christian Heller [Mon, 26 Oct 2020 20:48:30 +0000 (21:48 +0100)]
Add chat without HTML5 canvas.

4 years agoMinor fix.
Christian Heller [Sun, 25 Oct 2020 18:50:28 +0000 (19:50 +0100)]
Minor fix.

4 years agoMake map rendering slightly more efficient.
Christian Heller [Sun, 25 Oct 2020 06:18:09 +0000 (07:18 +0100)]
Make map rendering slightly more efficient.

4 years agoRe-do and extrend color handling.
Christian Heller [Sun, 25 Oct 2020 05:11:38 +0000 (06:11 +0100)]
Re-do and extrend color handling.

4 years agoAdd FLATTEN_SURROUNDINGS task.
Christian Heller [Sun, 25 Oct 2020 04:29:11 +0000 (05:29 +0100)]
Add FLATTEN_SURROUNDINGS task.

4 years agoProhibit movement over non-dot map cells
Christian Heller [Sun, 25 Oct 2020 04:11:32 +0000 (05:11 +0100)]
Prohibit movement over non-dot map cells

4 years agoTurn game saving from command to happening every new turn.
Christian Heller [Sun, 25 Oct 2020 04:03:45 +0000 (05:03 +0100)]
Turn game saving from command to happening every new turn.

4 years agoAdd basic save file mechanism.
Christian Heller [Sun, 25 Oct 2020 03:58:49 +0000 (04:58 +0100)]
Add basic save file mechanism.

4 years agoRename tick to turn in client.
Christian Heller [Sun, 25 Oct 2020 03:34:34 +0000 (04:34 +0100)]
Rename tick to turn in client.

4 years agoOnly count new turns on ticks that change world state.
Christian Heller [Sun, 25 Oct 2020 03:34:01 +0000 (04:34 +0100)]
Only count new turns on ticks that change world state.

4 years agoImprove intro help screen handling.
Christian Heller [Sun, 25 Oct 2020 03:16:23 +0000 (04:16 +0100)]
Improve intro help screen handling.

4 years agoParse ARGUMENT_ERROR.
Christian Heller [Sun, 25 Oct 2020 03:08:50 +0000 (04:08 +0100)]
Parse ARGUMENT_ERROR.

4 years agoAdd PING.
Christian Heller [Sun, 25 Oct 2020 03:08:19 +0000 (04:08 +0100)]
Add PING.

4 years agoAdd link to server source code.
Christian Heller [Sun, 25 Oct 2020 02:25:02 +0000 (03:25 +0100)]
Add link to server source code.

4 years agoDon't use LOG for meta messages, errors.
Christian Heller [Sun, 25 Oct 2020 02:19:17 +0000 (03:19 +0100)]
Don't use LOG for meta messages, errors.

4 years agoAdd line breaks and indentation logic.
Christian Heller [Sun, 25 Oct 2020 02:12:42 +0000 (03:12 +0100)]
Add line breaks and indentation logic.

4 years agoAdd map writing.
Christian Heller [Sun, 25 Oct 2020 01:48:53 +0000 (02:48 +0100)]
Add map writing.

4 years agoAdd map terrain.
Christian Heller [Sun, 25 Oct 2020 01:21:55 +0000 (02:21 +0100)]
Add map terrain.

4 years agoDe-hardcode map size test.
Christian Heller [Sun, 25 Oct 2020 00:56:43 +0000 (02:56 +0200)]
De-hardcode map size test.

4 years agoIntroduce map geometry.
Christian Heller [Sun, 25 Oct 2020 00:48:08 +0000 (02:48 +0200)]
Introduce map geometry.

4 years agoOnly draw new game content on tick completion.
Christian Heller [Sun, 25 Oct 2020 00:34:32 +0000 (02:34 +0200)]
Only draw new game content on tick completion.

4 years agoImprove rogue chat interface.
Christian Heller [Sun, 25 Oct 2020 00:12:47 +0000 (02:12 +0200)]
Improve rogue chat interface.

4 years agoAdd basic multiplayer roguelike chat example.
Christian Heller [Sat, 24 Oct 2020 23:35:20 +0000 (01:35 +0200)]
Add basic multiplayer roguelike chat example.

4 years agoMinor fixes.
Christian Heller [Sat, 24 Oct 2020 23:17:56 +0000 (01:17 +0200)]
Minor fixes.

4 years agoFix.
Christian Heller [Fri, 23 Oct 2020 04:02:53 +0000 (06:02 +0200)]
Fix.

4 years agoRe-do IO with websocket capabilities.
Christian Heller [Fri, 23 Oct 2020 00:37:28 +0000 (02:37 +0200)]
Re-do IO with websocket capabilities.

4 years agoFix.
Christian Heller [Thu, 22 Oct 2020 21:18:04 +0000 (23:18 +0200)]
Fix.

4 years agoAdd basic websocket architecture.
Christian Heller [Thu, 22 Oct 2020 21:13:33 +0000 (23:13 +0200)]
Add basic websocket architecture.

4 years agoSimplify code.
Christian Heller [Thu, 9 Jul 2020 23:07:31 +0000 (01:07 +0200)]
Simplify code.

4 years agoEnforce sane create_unfound decisions.
Christian Heller [Thu, 9 Jul 2020 23:05:06 +0000 (01:05 +0200)]
Enforce sane create_unfound decisions.

4 years agoFix bug that created multiple objects of same ID.
Christian Heller [Thu, 9 Jul 2020 00:52:35 +0000 (02:52 +0200)]
Fix bug that created multiple objects of same ID.

4 years agoDecouple awakeness/sleep stats from Map to MapChunk.
Christian Heller [Mon, 23 Dec 2019 23:49:50 +0000 (00:49 +0100)]
Decouple awakeness/sleep stats from Map to MapChunk.

4 years agoUse self.max_map_awakeness to recude magic numbering.
Christian Heller [Mon, 23 Dec 2019 23:23:41 +0000 (00:23 +0100)]
Use self.max_map_awakeness to recude magic numbering.

5 years agoAdd basic reality bubble mechanism.
Christian Heller [Fri, 20 Dec 2019 04:24:56 +0000 (05:24 +0100)]
Add basic reality bubble mechanism.

5 years agoEmpty client log before each new turn.
Christian Heller [Fri, 20 Dec 2019 02:10:18 +0000 (03:10 +0100)]
Empty client log before each new turn.

5 years agoClear neuron with backprop code.
Christian Heller [Mon, 13 May 2019 11:13:26 +0000 (13:13 +0200)]
Clear neuron with backprop code.

5 years agoClean up perceptron code.
Christian Heller [Mon, 13 May 2019 10:52:26 +0000 (12:52 +0200)]
Clean up perceptron code.

5 years agoAdd basic neural networking experiments.
Christian Heller [Mon, 13 May 2019 03:27:11 +0000 (05:27 +0200)]
Add basic neural networking experiments.

5 years agoFix map indentation handling bug in client cursor movement.
Christian Heller [Wed, 1 May 2019 00:58:27 +0000 (02:58 +0200)]
Fix map indentation handling bug in client cursor movement.

5 years agoFix broken dijkstra mapping / AI searches.
Christian Heller [Tue, 30 Apr 2019 22:04:33 +0000 (00:04 +0200)]
Fix broken dijkstra mapping / AI searches.

5 years agoOnly send to client whether map starts indented, not whole offset.
Christian Heller [Tue, 30 Apr 2019 21:37:47 +0000 (23:37 +0200)]
Only send to client whether map starts indented, not whole offset.

5 years agoFix FOV bug by respecting HexMap start indentation consequences.
Christian Heller [Tue, 30 Apr 2019 21:17:26 +0000 (23:17 +0200)]
Fix FOV bug by respecting HexMap start indentation consequences.

5 years agoMore refactoring.
Christian Heller [Tue, 30 Apr 2019 20:22:03 +0000 (22:22 +0200)]
More refactoring.

5 years agoMore refactoring.
Christian Heller [Tue, 30 Apr 2019 18:56:56 +0000 (20:56 +0200)]
More refactoring.

5 years agoMinor refactorings / re-namings.
Christian Heller [Tue, 30 Apr 2019 18:29:21 +0000 (20:29 +0200)]
Minor refactorings / re-namings.

5 years agoFlatten game->world hierarchy.
Christian Heller [Tue, 30 Apr 2019 17:34:35 +0000 (19:34 +0200)]
Flatten game->world hierarchy.

5 years agoMake add_line hack unnecessary.
Christian Heller [Tue, 30 Apr 2019 16:56:05 +0000 (18:56 +0200)]
Make add_line hack unnecessary.

5 years agoAllow player movement beyond central map. Lots of mapping rewrite.
Christian Heller [Tue, 30 Apr 2019 03:04:07 +0000 (05:04 +0200)]
Allow player movement beyond central map. Lots of mapping rewrite.

5 years agoOnly contact with player's radius creates new maps.
Christian Heller [Sat, 27 Apr 2019 20:01:16 +0000 (22:01 +0200)]
Only contact with player's radius creates new maps.

5 years agoChange MAP command to ensuring map exists, not necessarily creating it.
Christian Heller [Sat, 27 Apr 2019 19:21:35 +0000 (21:21 +0200)]
Change MAP command to ensuring map exists, not necessarily creating it.

5 years agoFor available map directions, remove dependency on map 0,0.
Christian Heller [Sat, 27 Apr 2019 19:07:31 +0000 (21:07 +0200)]
For available map directions, remove dependency on map 0,0.

5 years agoUse smarter YX class for y,x coordinates/sizes.
Christian Heller [Sat, 27 Apr 2019 19:04:10 +0000 (21:04 +0200)]
Use smarter YX class for y,x coordinates/sizes.

5 years agoMove re-positioning of things in inventory to Thing code.
Christian Heller [Sat, 27 Apr 2019 17:20:32 +0000 (19:20 +0200)]
Move re-positioning of things in inventory to Thing code.

5 years agoLet THING_INVENTORY also re-position things to owner.
Christian Heller [Sat, 27 Apr 2019 16:33:07 +0000 (18:33 +0200)]
Let THING_INVENTORY also re-position things to owner.

5 years agoUse one size standard for all maps that define the game world.
Christian Heller [Sat, 27 Apr 2019 12:52:39 +0000 (14:52 +0200)]
Use one size standard for all maps that define the game world.

5 years agoFix save game corruption due to insufficient .in_inventory handling.
Christian Heller [Sat, 27 Apr 2019 10:29:34 +0000 (12:29 +0200)]
Fix save game corruption due to insufficient .in_inventory handling.

5 years agoUse trivially re-seedable PRNG.
Christian Heller [Sat, 27 Apr 2019 09:54:54 +0000 (11:54 +0200)]
Use trivially re-seedable PRNG.