Commit Graph
92 Commits
Author SHA1 Message Date
jlusiardi fb69c932a8 adjust background colors 2024-11-24 13:30:10 +01:00
jlusiardi 62e13ace4c add defense attribute to player and monster 2024-11-24 13:24:39 +01:00
jlusiardi 51123ecd8e version bump and index generation 2024-11-07 09:57:32 +01:00
jlusiardi 4d77265b2f remove debug output 2024-11-07 09:47:49 +01:00
jlusiardi c91d57f049 next try 2024-11-07 09:46:15 +01:00
jlusiardi 8f151836bd next try 2024-11-07 09:41:40 +01:00
jlusiardi 9d862011a7 testing 2024-11-07 09:37:22 +01:00
jlusiardi d068620c3f more tuning 2024-11-07 09:35:30 +01:00
jlusiardi 6660c11306 more debug 2024-11-07 09:29:24 +01:00
jlusiardi 1d8896d1ad debugging 2024-11-07 09:27:31 +01:00
jlusiardi 252c1c244d make key secure in container 2024-11-07 09:24:19 +01:00
jlusiardi ef3a6026f5 minor fixes 2024-11-07 09:22:19 +01:00
jlusiardi 542616cb0b version bump 2024-11-07 09:15:44 +01:00
jlusiardi 9a6c8f5116 try to auto publish to website 2024-11-07 09:15:24 +01:00
jlusiardi d82e0d2d48 version updates 2024-11-06 14:33:11 +01:00
jlusiardi a542e4b1c0 add mechanism for level gain 2024-11-06 14:29:30 +01:00
jlusiardi 3249529f94 cleanup 2024-11-06 09:22:22 +01:00
jlusiardi 72f7be2ed8 more work on level generators 2024-11-05 12:02:45 +01:00
jlusiardi 5311f56ca0 extract minimal room size as constant 2024-11-03 10:32:04 +01:00
jlusiardi df80dfdd8a introduce custom type for the graph 2024-11-01 13:08:02 +01:00
jlusiardi 8b23c565b8 make connections more variable 2024-11-01 12:06:50 +01:00
jlusiardi 789a41cb3f make connections more variable 2024-11-01 12:02:11 +01:00
jlusiardi d42d8a12b4 make spiders more visible 2024-11-01 08:49:12 +01:00
jlusiardi 8ee142586b make monsters visible 2024-10-31 22:39:11 +01:00
jlusiardi 1878959e69 Clippy 2024-10-31 22:36:23 +01:00
jlusiardi 8bae1c7668 formatted 2024-10-31 22:34:35 +01:00
jlusiardi 3096386ad1 improve paths 2024-10-31 21:52:04 +01:00
jlusiardi f5d257e826 more work on generator and tests 2024-10-31 15:20:39 +01:00
jlusiardi a82a847ecd more tests 2024-10-31 09:58:15 +01:00
jlusiardi 50d98bfb4d work on level generation including tests 2024-10-31 07:48:22 +01:00
jlusiardi c429784775 run tests on all branches 2024-10-30 13:06:26 +01:00
jlusiardi e96660cea0 redo some colors 2024-10-30 13:01:28 +01:00
jlusiardi c6492c28c2 work on level generator 2024-10-30 08:56:45 +01:00
jlusiardi 7f288dbcd1 first version of the level new generator
monsters and artefact are missing
roomsize is fixed
2024-10-29 06:48:45 +01:00
jlusiardi 74831857cf fix monster percentage 2024-10-27 06:24:40 +01:00
jlusiardi 1ae7ff45ab Rename treasure room 2024-10-27 06:24:14 +01:00
jlusiardi b833b43c7c Extract constants and make monsters variable per level 2024-10-26 17:00:51 +02:00
jlusiardi e490011b4e use macros to create monsters 2024-10-25 07:21:34 +02:00
jlusiardi 8267ad083f fix player tests 2024-10-24 09:09:29 +02:00
jlusiardi 38dc7285c2 try to improve monster handling 2024-10-24 08:57:52 +02:00
jlusiardi 6f4c37728f make size of levels variable 2024-10-23 15:54:33 +02:00
jlusiardi 5111fec1fa fixed message while changing levels 2024-10-23 15:53:28 +02:00
jlusiardi 9fb3c83b67 more documentation 2024-10-23 15:53:04 +02:00
jlusiardi 9ae713b6c8 make variable inventory slots 2024-10-22 13:39:43 +02:00
jlusiardi 5949b2a2d6 limit inventory to 10 slots 2024-10-21 21:59:55 +02:00
jlusiardi 2b8f7eebba unused potions now are collected in the inventory and can be consumed with the p key 2024-10-21 21:52:07 +02:00
jlusiardi a0635de65a reorder key handling 2024-10-21 20:37:52 +02:00
jlusiardi d6f4fdaa5b add CI/CD 2024-10-21 08:30:24 +02:00
jlusiardi 8dfe56a3c2 randomize content of chests and potions 2024-10-21 08:27:55 +02:00
jlusiardi b3d85ac7b3 Improved fights between player and monster 2024-10-21 08:26:51 +02:00
jlusiardi cefb0cc5f2 improve combat system 2024-10-20 22:12:28 +02:00
jlusiardi efc4cdd363 updated deps
fixed clippy remarks
2024-10-20 14:59:20 +02:00
jlusiardi 210d590e38 prevent player from leaving the field 2024-01-03 09:12:00 +01:00
jlusiardi e4018d9cce remove unused import 2024-01-01 15:34:52 +01:00
jlusiardi f6bb0a9297 version can be displayed as message 2023-12-31 18:10:09 +01:00
jlusiardi b6d61e4bd1 Merge remote-tracking branch 'origin/include_git_hash' into add_messages 2023-12-31 17:45:42 +01:00
jlusiardi 85496e3200 make git commit hash available at compile time 2023-12-31 17:41:59 +01:00
jlusiardi 4770a21abe for changes to add messages 2023-12-31 15:59:52 +01:00
jlusiardi a69e89c806 Only consume potions if they have an effect 2023-12-30 16:44:23 +01:00
jlusiardi b3d64f7438 Monsters can attack player now 2023-12-30 16:31:27 +01:00
jlusiardi b88bc67c50 monsters move and attack the player 2023-12-26 19:11:41 +01:00
jlusiardi 2098bedabe make monsters more like players 2023-12-26 11:38:23 +01:00
jlusiardi c0d51f501f extract has_position trait 2023-12-25 13:47:15 +01:00
jlusiardi bb8a24aa91 clean up monsters 2023-12-25 13:26:45 +01:00
jlusiardi 67faae44b1 Prevent crashes when terminal is too small 2023-12-25 08:44:44 +01:00
jlusiardi de5ea76913 step to xp 2023-12-22 20:10:30 +01:00
jlusiardi 6082a740e9 make chest's gold depend on level 2023-12-22 09:52:50 +01:00
jlusiardi db96dc5c8a Add gold to the result message 2023-12-21 23:13:13 +01:00
jlusiardi 2a86201c3e add 3 distinct outcomes for the game 2023-12-21 23:02:06 +01:00
jlusiardi 6b6206370b Make enemies randomized 2023-12-18 17:04:48 +01:00
jlusiardi 73315a7636 monsters as trait 2023-12-18 16:11:19 +01:00
jlusiardi 7ac3b76e6c add some documentation 2023-12-17 22:00:42 +01:00
jlusiardi f87712e8d2 clean up code 2023-12-17 19:48:58 +01:00
jlusiardi 8b21e179c2 fight monsters, collect artifacts 2023-12-17 16:14:17 +01:00
jlusiardi 206a49fb08 reworked level widget to stateful widget 2023-12-09 20:16:03 +01:00
jlusiardi 6e2441aad1 give different artifacts differen looks 2023-12-09 20:05:39 +01:00
jlusiardi 4a024a47d9 randomize artifact generation 2023-12-09 17:39:26 +01:00
jlusiardi e47036bd8d more tests 2023-12-09 08:43:41 +01:00
jlusiardi 7b0eaf6640 add test & fix bug 2023-12-06 21:02:40 +01:00
jlusiardi 6aee9d974f Move works again 2023-12-06 03:18:59 +01:00
jlusiardi 21a292b7ad make stuff public 2023-12-05 17:13:39 +01:00
jlusiardi aa3fa6efb1 Work on levelgenerator 2023-12-04 18:41:21 +01:00
jlusiardi 2eeb95e3a3 Add variable artifacts 2023-12-03 23:59:05 +01:00
jlusiardi 07c629bdaa add gold to the player 2023-12-03 21:20:16 +01:00
jlusiardi 220607133a Add Artifacts 2023-12-03 13:44:29 +01:00
jlusiardi 900739190d Monsters can be removed 2023-12-03 10:41:43 +01:00
jlusiardi 209a277684 Monsters can move 2023-12-03 09:36:58 +01:00
jlusiardi 1ba1ed7de4 Monster in Level 2023-12-03 09:25:03 +01:00
jlusiardi ee1f11cd1f Cleanup 2023-11-27 21:24:43 +01:00
jlusiardi 677acf771a first steps with refs 2023-11-27 19:21:10 +01:00
jlusiardi 227e44dd43 Work on more references 2023-11-26 20:14:33 +01:00
jlusiardi 0ef034f14f first steps 2023-11-08 06:52:20 +01:00