summaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
Diffstat (limited to 'game')
-rw-r--r--game/src/main.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/game/src/main.rs b/game/src/main.rs
index fbb4ad1..355741b 100644
--- a/game/src/main.rs
+++ b/game/src/main.rs
@@ -3,8 +3,13 @@ use graphics::*;
fn main() {
let mut window = Window::new(720, 480, "game");
+ // Initial game state
let dungeon = Dungeon::default();
+
+ // Main game loop
while window.is_open() {
+ // TODO update game state
+ // Draw a single frame
window.draw(&dungeon);
}
}