diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-10-07 11:01:19 -0400 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-10-08 19:37:15 -0400 |
| commit | b11f074ceba10af62b35b414ecaa51a8f13c6550 (patch) | |
| tree | d12979f7eeb384f94b145ea763a97dcde353745b /game | |
| parent | Initial commit (diff) | |
| download | DungeonCrawl-b11f074ceba10af62b35b414ecaa51a8f13c6550.tar.gz DungeonCrawl-b11f074ceba10af62b35b414ecaa51a8f13c6550.tar.bz2 DungeonCrawl-b11f074ceba10af62b35b414ecaa51a8f13c6550.zip | |
initial baseline
Diffstat (limited to 'game')
| -rw-r--r-- | game/Cargo.toml | 11 | ||||
| -rw-r--r-- | game/src/main.rs | 10 |
2 files changed, 21 insertions, 0 deletions
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); + } +} |