From e9a9ab4d7988f032aa7b8b5be1e1006c004ea1c8 Mon Sep 17 00:00:00 2001 From: Lorenzo Torres Date: Sun, 16 Mar 2025 01:18:04 +0100 Subject: fixed spacing issues in `documentation/design.md` --- documentation/design.md | 4 ++-- src/ecs/components.zig | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 src/ecs/components.zig diff --git a/documentation/design.md b/documentation/design.md index e584ff4..2f90d84 100644 --- a/documentation/design.md +++ b/documentation/design.md @@ -36,7 +36,7 @@ In case of an attack, players can ask for help to allies whether it's defensive When attacking a player, different ways of managing victory can be choosen: - The defeated player can be taxed by the winner. - The defeated player can keep independence, but must obey to the winner when receiving orders. -- The defeated player is completely destroyed and must restart the game. +- The defeated player is completely destroyed and must restart the game. In the first two cases, the winner can keep soldiers on the conquered territory and the defeated can try to revolt against the winner by fighting. ## Attacking @@ -45,5 +45,5 @@ In the first two cases, the winner can keep soldiers on the conquered territory Players can choose different ways of training soldiers: - Every adult male will get at least some basic training and develop fighting skills. You will get a lot of soldiers, but with basic fighting skills. - A group of regular citizens is selected and trained to develop average fighting skills. -- Specialized soldiers are trained full-time to develop quality fighting skills. In this case soldiers will need to be payed. +- Specialized soldiers are trained full-time to develop quality fighting skills. In this case soldiers will need to be payed. Note that enemies can only kill citizens who went through any level of training, otherwise they can only be enslaved. Since the number of slaves a winning player can make in an attack is limited, choosing the second or the third options can assure that at least some citizens will be left. diff --git a/src/ecs/components.zig b/src/ecs/components.zig new file mode 100644 index 0000000..ae379b4 --- /dev/null +++ b/src/ecs/components.zig @@ -0,0 +1,3 @@ +const std = @import("std"); + +pub const Archetype = struct {}; -- cgit v1.2.3