diff options
author | Dave Gauer <dave@ratfactor.com> | 2023-05-02 08:26:32 -0400 |
---|---|---|
committer | Dave Gauer <dave@ratfactor.com> | 2023-05-02 08:26:32 -0400 |
commit | e2f3a5e5192ba9e28d51c39c258a37003cc9acb0 (patch) | |
tree | b96abd516eff99f5d2c61e05a69ced80b346c082 /build.zig | |
parent | f9aec283c80acb969bb7e2cf4662ef7ad252b831 (diff) |
Added Ex 101 "for loops part 5" (Closes #271)
Also gave a shot at explaining data-oriented design, a Zig "hot
topic" ever since the red Hawaiian shirt talk(s).
Diffstat (limited to 'build.zig')
-rw-r--r-- | build.zig | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1077,6 +1077,10 @@ const exercises = [_]Exercise{ .output = "Arrays match!", }, .{ + .main_file = "101_for5.zig", + .output = "1. Wizard (Gold: 25, XP: 40)\n2. Bard (Gold: 11, XP: 17)\n3. Bard (Gold: 5, XP: 55)\n4. Warrior (Gold: 7392, XP: 21)", + }, + .{ .main_file = "999_the_end.zig", .output = "\nThis is the end for now!\nWe hope you had fun and were able to learn a lot, so visit us again when the next exercises are available.", }, |