From b11f074ceba10af62b35b414ecaa51a8f13c6550 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 7 Oct 2025 11:01:19 -0400 Subject: initial baseline --- game/Cargo.toml | 11 +++++++++++ game/src/main.rs | 10 ++++++++++ 2 files changed, 21 insertions(+) create mode 100644 game/Cargo.toml create mode 100644 game/src/main.rs (limited to 'game') diff --git a/game/Cargo.toml b/game/Cargo.toml new file mode 100644 index 0000000..01a8ec9 --- /dev/null +++ b/game/Cargo.toml @@ -0,0 +1,11 @@ +[package] +name = "game" +version = "0.1.0" +edition = "2024" + +[dependencies] +dungeon = { path = "../dungeon" } +graphics = { path = "../graphics" } + +[lints] +workspace = true 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); + } +} -- cgit v1.2.3-freya