aboutsummaryrefslogtreecommitdiff
path: root/src/state_machine
diff options
context:
space:
mode:
Diffstat (limited to 'src/state_machine')
-rw-r--r--src/state_machine/state_machine.zig17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/state_machine/state_machine.zig b/src/state_machine/state_machine.zig
deleted file mode 100644
index 4388a28..0000000
--- a/src/state_machine/state_machine.zig
+++ /dev/null
@@ -1,17 +0,0 @@
-const std = @import("std");
-const Display = @import("../frontend/ncurses.zig").Display;
-
-const TICK = 33;
-
-var x: u64 = 0;
-var prev: i64 = 0;
-
-pub fn nextTick(display: *Display) void {
- const new = std.time.milliTimestamp();
-
- if (new - prev > TICK) {
- display.displayMessage("{}", .{x});
- x += 1;
- prev = new;
- }
-}