summaryrefslogtreecommitdiff
path: root/game/src/main.rs
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-10-07 11:01:19 -0400
committerFreya Murphy <freya@freyacat.org>2025-10-08 19:37:15 -0400
commitb11f074ceba10af62b35b414ecaa51a8f13c6550 (patch)
treed12979f7eeb384f94b145ea763a97dcde353745b /game/src/main.rs
parentInitial commit (diff)
downloadDungeonCrawl-b11f074ceba10af62b35b414ecaa51a8f13c6550.tar.gz
DungeonCrawl-b11f074ceba10af62b35b414ecaa51a8f13c6550.tar.bz2
DungeonCrawl-b11f074ceba10af62b35b414ecaa51a8f13c6550.zip
initial baseline
Diffstat (limited to 'game/src/main.rs')
-rw-r--r--game/src/main.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/game/src/main.rs b/game/src/main.rs
new file mode 100644
index 0000000..252830a
--- /dev/null
+++ b/game/src/main.rs
@@ -0,0 +1,10 @@
+use dungeon::*;
+use graphics::*;
+
+fn main() {
+ let mut window = Window::new(720, 480, "game");
+ let dungeon = Dungeon::new();
+ while window.is_open() {
+ window.draw(&dungeon);
+ }
+}