feat: implement game logic

This commit is contained in:
2025-07-23 17:04:19 +02:00
parent 9edf9bfb24
commit b45a77f76d
2 changed files with 101 additions and 55 deletions

View File

@@ -1,5 +1,8 @@
const std = @import("std");
const rl = @import("raylib");
comptime {
_ = @import("game.zig");
}
pub fn main() anyerror!void {
const alloc = std.heap.page_allocator;
@@ -25,7 +28,3 @@ pub fn main() anyerror!void {
rl.drawRectangle(10, 10, 10, 10, .black);
}
}
test "should initialize game" {
try std.testing.expect(42 == 42);
}