This commit is contained in:
2026-06-05 23:51:45 +02:00
parent 629634e09d
commit a5bbd016eb
7 changed files with 16 additions and 7 deletions
+2
View File
@@ -36,6 +36,7 @@ const Character = struct {
role: Role,
gold: u32,
experience: u32,
health: u8,
};
pub fn main() void {
@@ -44,6 +45,7 @@ pub fn main() void {
.role = Role.wizard,
.gold = 20,
.experience = 10,
.health = 100,
};
// Glorp gains some gold.