feat: implement game logic
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user