home · contact · privacy
plomrogue2-experiments
5 years agoRefactor.
Christian Heller [Wed, 30 Jan 2019 22:41:25 +0000 (23:41 +0100)]
Refactor.

5 years agoFix MAP command geometries returning invalid classes.
Christian Heller [Wed, 30 Jan 2019 22:23:54 +0000 (23:23 +0100)]
Fix MAP command geometries returning invalid classes.

5 years agoLots of refactoring to enable SAVE command.
Christian Heller [Wed, 30 Jan 2019 14:00:51 +0000 (15:00 +0100)]
Lots of refactoring to enable SAVE command.

5 years agoTo command parser, add string options; use TASK syntax for task commands.
Christian Heller [Sat, 26 Jan 2019 21:42:04 +0000 (22:42 +0100)]
To command parser, add string options; use TASK syntax for task commands.

5 years agoAdd SWITCH_PLAYER debugging command for switching player.
Christian Heller [Fri, 25 Jan 2019 19:52:25 +0000 (20:52 +0100)]
Add SWITCH_PLAYER debugging command for switching player.

5 years agoFix AI getting stuck in illegal move attempt.
Christian Heller [Fri, 25 Jan 2019 19:37:25 +0000 (20:37 +0100)]
Fix AI getting stuck in illegal move attempt.

5 years agoAdd very basic pathfinding AI.
Christian Heller [Fri, 25 Jan 2019 19:23:50 +0000 (20:23 +0100)]
Add very basic pathfinding AI.

5 years agoUse math.isclose for square map FOVs too.
Christian Heller [Fri, 25 Jan 2019 04:27:01 +0000 (05:27 +0100)]
Use math.isclose for square map FOVs too.

5 years agoUse math.isclose() to fix FOV bug instead of expensive Fraction.
Christian Heller [Fri, 25 Jan 2019 04:18:56 +0000 (05:18 +0100)]
Use math.isclose() to fix FOV bug instead of expensive Fraction.

5 years agoIn client, avoid showing half-finished game states.
Christian Heller [Fri, 25 Jan 2019 03:06:20 +0000 (04:06 +0100)]
In client, avoid showing half-finished game states.

5 years agoFix FOV floating point bugs by using fractions.Fraction for fractions.
Christian Heller [Fri, 25 Jan 2019 02:44:35 +0000 (03:44 +0100)]
Fix FOV floating point bugs by using fractions.Fraction for fractions.

5 years agoFix map drawing / scrolling bugs in client.
Christian Heller [Fri, 25 Jan 2019 02:01:38 +0000 (03:01 +0100)]
Fix map drawing / scrolling bugs in client.

5 years agoFix map scrolling bug in client.
Christian Heller [Fri, 25 Jan 2019 01:15:46 +0000 (02:15 +0100)]
Fix map scrolling bug in client.

5 years agoAdd map navigation key shortcuts.
Christian Heller [Fri, 25 Jan 2019 00:53:12 +0000 (01:53 +0100)]
Add map navigation key shortcuts.

5 years agoRefactor map drawing code in curses client.
Christian Heller [Fri, 25 Jan 2019 00:27:22 +0000 (01:27 +0100)]
Refactor map drawing code in curses client.

5 years agoCurses loop won't delay socket input processing.
Christian Heller [Thu, 24 Jan 2019 23:03:48 +0000 (00:03 +0100)]
Curses loop won't delay socket input processing.

5 years agoImprove map handling between client and server, add map scrolling.
Christian Heller [Thu, 24 Jan 2019 04:08:28 +0000 (05:08 +0100)]
Improve map handling between client and server, add map scrolling.

5 years agoOptimize ncurses client, only update map on VISIBLE_MAP_COMPLETE.
Christian Heller [Thu, 24 Jan 2019 03:05:08 +0000 (04:05 +0100)]
Optimize ncurses client, only update map on VISIBLE_MAP_COMPLETE.

5 years agoAdd coloring to map in ncurses client.
Christian Heller [Thu, 24 Jan 2019 01:52:34 +0000 (02:52 +0100)]
Add coloring to map in ncurses client.

5 years agoExtend ncurses client's capabilities.
Christian Heller [Thu, 24 Jan 2019 01:43:49 +0000 (02:43 +0100)]
Extend ncurses client's capabilities.

5 years agoAdd start of ncurses client.
Christian Heller [Wed, 23 Jan 2019 23:39:34 +0000 (00:39 +0100)]
Add start of ncurses client.

5 years agoUse dedicated MapWidget in client.
Christian Heller [Mon, 21 Jan 2019 03:07:02 +0000 (04:07 +0100)]
Use dedicated MapWidget in client.

5 years agoMinor client refactoring.
Christian Heller [Sun, 20 Jan 2019 03:52:58 +0000 (04:52 +0100)]
Minor client refactoring.

5 years agoUpdate Urwid version.
Christian Heller [Sun, 20 Jan 2019 03:32:59 +0000 (04:32 +0100)]
Update Urwid version.

5 years agoImprove client.
Christian Heller [Sun, 20 Jan 2019 03:32:48 +0000 (04:32 +0100)]
Improve client.

5 years agoRedo world generation with GEN_MAP command.
Christian Heller [Sat, 19 Jan 2019 23:44:19 +0000 (00:44 +0100)]
Redo world generation with GEN_MAP command.

5 years agoFinish previous commit.
Christian Heller [Sat, 19 Jan 2019 23:42:32 +0000 (00:42 +0100)]
Finish previous commit.

5 years agoAdd true yx_tuple:nonneg type, fix MAP command, add yx_tuple:pos.
Christian Heller [Sat, 19 Jan 2019 23:41:30 +0000 (00:41 +0100)]
Add true yx_tuple:nonneg type, fix MAP command, add yx_tuple:pos.

5 years agoImprove MapFovHex comments, variable names, ideas; add MapFovSquare.
Christian Heller [Sat, 19 Jan 2019 21:58:29 +0000 (22:58 +0100)]
Improve MapFovHex comments, variable names, ideas; add MapFovSquare.

5 years agoAdd FOV optimization ideas. Toggle Hex indentation.
Christian Heller [Sat, 19 Jan 2019 14:05:20 +0000 (15:05 +0100)]
Add FOV optimization ideas. Toggle Hex indentation.

5 years agoAdd FOV algorithm for Hex grids.
Christian Heller [Sat, 19 Jan 2019 04:47:38 +0000 (05:47 +0100)]
Add FOV algorithm for Hex grids.

5 years agoMinor refactoring.
Christian Heller [Fri, 18 Jan 2019 02:35:26 +0000 (03:35 +0100)]
Minor refactoring.

5 years agoDerive legal geometries directly from Map class names.
Christian Heller [Fri, 18 Jan 2019 02:30:48 +0000 (03:30 +0100)]
Derive legal geometries directly from Map class names.

5 years agoRefactor / encapsulate Map stuff into own module.
Christian Heller [Fri, 18 Jan 2019 01:53:16 +0000 (02:53 +0100)]
Refactor / encapsulate Map stuff into own module.

5 years agoAllow selection of grid geometry via MAP command. A lot refactoring.
Christian Heller [Fri, 18 Jan 2019 01:02:26 +0000 (02:02 +0100)]
Allow selection of grid geometry via MAP command. A lot refactoring.

5 years agoFix FOV bug.
Christian Heller [Thu, 17 Jan 2019 23:19:31 +0000 (00:19 +0100)]
Fix FOV bug.

5 years agoCreate new Map object instead of changing it.
Christian Heller [Thu, 17 Jan 2019 23:18:30 +0000 (00:18 +0100)]
Create new Map object instead of changing it.

5 years agoUse hex map.
Christian Heller [Thu, 17 Jan 2019 23:00:08 +0000 (00:00 +0100)]
Use hex map.

5 years agoImprove Map class.
Christian Heller [Wed, 16 Jan 2019 22:54:20 +0000 (23:54 +0100)]
Improve Map class.

5 years agoImprove Map class design.
Christian Heller [Wed, 16 Jan 2019 22:06:44 +0000 (23:06 +0100)]
Improve Map class design.

5 years agoImprove Map class design.
Christian Heller [Wed, 16 Jan 2019 22:02:53 +0000 (23:02 +0100)]
Improve Map class design.

5 years agoAbstract away all map geometry stuff into Map class.
Christian Heller [Wed, 16 Jan 2019 21:56:47 +0000 (22:56 +0100)]
Abstract away all map geometry stuff into Map class.

5 years agoRefactor.
Christian Heller [Tue, 15 Jan 2019 02:19:43 +0000 (03:19 +0100)]
Refactor.

5 years agoClass renaming.
Christian Heller [Tue, 15 Jan 2019 02:07:33 +0000 (03:07 +0100)]
Class renaming.

5 years agoRefactor.
Christian Heller [Tue, 15 Jan 2019 02:04:51 +0000 (03:04 +0100)]
Refactor.

5 years agoMinor code rearrangements.
Christian Heller [Tue, 15 Jan 2019 01:31:08 +0000 (02:31 +0100)]
Minor code rearrangements.

5 years agoRefactor.
Christian Heller [Tue, 15 Jan 2019 00:58:16 +0000 (01:58 +0100)]
Refactor.

5 years agoRefactor.
Christian Heller [Tue, 15 Jan 2019 00:34:34 +0000 (01:34 +0100)]
Refactor.

5 years agoMinor error message reorganization.
Christian Heller [Mon, 14 Jan 2019 17:13:31 +0000 (18:13 +0100)]
Minor error message reorganization.

5 years agoIgnore success messages, properly quote messages.
Christian Heller [Mon, 14 Jan 2019 17:01:19 +0000 (18:01 +0100)]
Ignore success messages, properly quote messages.

5 years agoHide objects outside of visible map.
Christian Heller [Mon, 14 Jan 2019 16:52:59 +0000 (17:52 +0100)]
Hide objects outside of visible map.

5 years agoImprove invisibility depiction.
Christian Heller [Sat, 12 Jan 2019 21:40:32 +0000 (22:40 +0100)]
Improve invisibility depiction.

5 years agoAdd more interesting map visibility.
Christian Heller [Sat, 12 Jan 2019 21:37:35 +0000 (22:37 +0100)]
Add more interesting map visibility.

5 years agoRedo map system, add map visibility infrastructure.
Christian Heller [Sat, 12 Jan 2019 21:21:44 +0000 (22:21 +0100)]
Redo map system, add map visibility infrastructure.

5 years agoRefactor.
Christian Heller [Thu, 10 Jan 2019 13:25:56 +0000 (14:25 +0100)]
Refactor.

5 years agoReplace GET_TURN with more useful GET_GAMESTATE.
Christian Heller [Thu, 10 Jan 2019 01:17:15 +0000 (02:17 +0100)]
Replace GET_TURN with more useful GET_GAMESTATE.

5 years agoDon't abort initial save file replay on error.
Christian Heller [Thu, 10 Jan 2019 00:56:20 +0000 (01:56 +0100)]
Don't abort initial save file replay on error.

5 years agoAvoid Thing collisions.
Christian Heller [Thu, 10 Jan 2019 00:49:46 +0000 (01:49 +0100)]
Avoid Thing collisions.

5 years agoGive feedback on aborted tasks.
Christian Heller [Sun, 6 Jan 2019 18:51:38 +0000 (19:51 +0100)]
Give feedback on aborted tasks.

5 years agoKeep checking tasks are possible during proceeding.
Christian Heller [Sun, 6 Jan 2019 02:05:50 +0000 (03:05 +0100)]
Keep checking tasks are possible during proceeding.

5 years agoAdd game state saving.
Christian Heller [Sun, 6 Jan 2019 00:56:02 +0000 (01:56 +0100)]
Add game state saving.

5 years agoRefactor.
Christian Heller [Sun, 6 Jan 2019 00:43:06 +0000 (01:43 +0100)]
Refactor.

5 years agoRefactor.
Christian Heller [Wed, 12 Dec 2018 02:00:25 +0000 (03:00 +0100)]
Refactor.

5 years agoRefactor.
Christian Heller [Wed, 12 Dec 2018 01:42:27 +0000 (02:42 +0100)]
Refactor.

5 years agoRefactor.
Christian Heller [Wed, 12 Dec 2018 01:37:31 +0000 (02:37 +0100)]
Refactor.

5 years agoRefactoring and removal of unused code.
Christian Heller [Wed, 12 Dec 2018 00:49:48 +0000 (01:49 +0100)]
Refactoring and removal of unused code.

5 years agoRemove redundant / doubled code.
Christian Heller [Wed, 12 Dec 2018 00:42:29 +0000 (01:42 +0100)]
Remove redundant / doubled code.

5 years agoFix faulty assumption about position of player in world.things.
Christian Heller [Wed, 12 Dec 2018 00:40:17 +0000 (01:40 +0100)]
Fix faulty assumption about position of player in world.things.

5 years agoRefactor.
Christian Heller [Wed, 12 Dec 2018 00:30:58 +0000 (01:30 +0100)]
Refactor.

5 years agoRefactor.
Christian Heller [Tue, 11 Dec 2018 23:08:50 +0000 (00:08 +0100)]
Refactor.

5 years agoMove hardcoding of world data to init process.
Christian Heller [Tue, 11 Dec 2018 22:27:21 +0000 (23:27 +0100)]
Move hardcoding of world data to init process.

5 years agoRefactor, add game file handling, replace TERRAIN with TERRAIN_LINE.
Christian Heller [Tue, 11 Dec 2018 01:30:43 +0000 (02:30 +0100)]
Refactor, add game file handling, replace TERRAIN with TERRAIN_LINE.

5 years agoFix README.
Christian Heller [Mon, 3 Dec 2018 21:19:28 +0000 (22:19 +0100)]
Fix README.

5 years agoRefactor.
Christian Heller [Mon, 3 Dec 2018 21:19:02 +0000 (22:19 +0100)]
Refactor.

5 years agoRefactoring.
Christian Heller [Mon, 3 Dec 2018 20:52:06 +0000 (21:52 +0100)]
Refactoring.

5 years agoMinor refactoring.
Christian Heller [Mon, 3 Dec 2018 01:24:08 +0000 (02:24 +0100)]
Minor refactoring.

5 years agoRemove newlines from server data, add action initiation checks.
Christian Heller [Mon, 3 Dec 2018 01:01:02 +0000 (02:01 +0100)]
Remove newlines from server data, add action initiation checks.

5 years agoMinor code re-arrangement.
Christian Heller [Sun, 2 Dec 2018 23:25:29 +0000 (00:25 +0100)]
Minor code re-arrangement.

6 years agoMinor refactoring.
Christian Heller [Thu, 23 Nov 2017 04:38:02 +0000 (05:38 +0100)]
Minor refactoring.

6 years agoShare parsing code between client and server.
Christian Heller [Sun, 15 Oct 2017 22:05:35 +0000 (00:05 +0200)]
Share parsing code between client and server.

6 years agoLots of refactoring.
Christian Heller [Fri, 13 Oct 2017 01:28:40 +0000 (03:28 +0200)]
Lots of refactoring.

6 years agoAdd turn widget to client.
Christian Heller [Fri, 13 Oct 2017 00:03:06 +0000 (02:03 +0200)]
Add turn widget to client.

6 years agoAdd basic movement AI test, extend move command directions.
Christian Heller [Thu, 24 Aug 2017 22:39:09 +0000 (00:39 +0200)]
Add basic movement AI test, extend move command directions.

6 years agoAdd Thing types and map them to symbols to display in client.
Christian Heller [Thu, 24 Aug 2017 22:35:00 +0000 (00:35 +0200)]
Add Thing types and map them to symbols to display in client.

6 years agoRefactor transfer of task command arguments.
Christian Heller [Thu, 24 Aug 2017 21:45:01 +0000 (23:45 +0200)]
Refactor transfer of task command arguments.

6 years agoAdd game loop, task progress logic.
Christian Heller [Thu, 24 Aug 2017 21:11:39 +0000 (23:11 +0200)]
Add game loop, task progress logic.

6 years agoSpecify widget classes, names by their use.
Christian Heller [Wed, 23 Aug 2017 22:49:11 +0000 (00:49 +0200)]
Specify widget classes, names by their use.

6 years agoAdd player move (only vertically), basic input error handling on server.
Christian Heller [Wed, 23 Aug 2017 22:42:47 +0000 (00:42 +0200)]
Add player move (only vertically), basic input error handling on server.

6 years agoAdd MAP_SIZE reply, add constraint checks.
Christian Heller [Wed, 23 Aug 2017 22:06:37 +0000 (00:06 +0200)]
Add MAP_SIZE reply, add constraint checks.

6 years agoAdd ArgumentError class, improve positioning command.
Christian Heller [Wed, 23 Aug 2017 21:19:06 +0000 (23:19 +0200)]
Add ArgumentError class, improve positioning command.

6 years agoRefactor, fix typo, handle exceptions in client.
Christian Heller [Wed, 23 Aug 2017 20:59:30 +0000 (22:59 +0200)]
Refactor, fix typo, handle exceptions in client.

6 years agoAdd map data transfer, fix socket reading queue.
Christian Heller [Mon, 21 Aug 2017 01:01:40 +0000 (03:01 +0200)]
Add map data transfer, fix socket reading queue.

6 years agoSimulate world processing during INC calls.
Christian Heller [Sun, 20 Aug 2017 19:41:08 +0000 (21:41 +0200)]
Simulate world processing during INC calls.

6 years agoRefactor position of pool and world.
Christian Heller [Sun, 20 Aug 2017 19:27:51 +0000 (21:27 +0200)]
Refactor position of pool and world.

6 years agoExtend INC command results.
Christian Heller [Sun, 20 Aug 2017 19:12:13 +0000 (21:12 +0200)]
Extend INC command results.

6 years agoExtend, reorganize commands server is capable of.
Christian Heller [Sat, 19 Aug 2017 21:53:12 +0000 (23:53 +0200)]
Extend, reorganize commands server is capable of.

6 years agoRefactor client, add potential map widget.
Christian Heller [Sat, 19 Aug 2017 21:00:36 +0000 (23:00 +0200)]
Refactor client, add potential map widget.

7 years agoImprove server by using queues.
Christian Heller [Sat, 29 Apr 2017 00:33:09 +0000 (02:33 +0200)]
Improve server by using queues.

7 years agoSome more experiments with threading.
Christian Heller [Wed, 26 Apr 2017 01:26:26 +0000 (03:26 +0200)]
Some more experiments with threading.

7 years agoUpdate README.
Christian Heller [Sun, 23 Apr 2017 11:12:08 +0000 (13:12 +0200)]
Update README.