18 lines
281 B
Rust
18 lines
281 B
Rust
use game::{BranchConfig, DungeonLevel};
|
|
use pancurses::{endwin, initscr};
|
|
|
|
mod game;
|
|
|
|
fn main() {
|
|
let window = initscr();
|
|
|
|
let cfg = BranchConfig;
|
|
let level = DungeonLevel::new(&cfg);
|
|
|
|
level.draw(&window);
|
|
window.refresh();
|
|
window.getch();
|
|
|
|
endwin();
|
|
}
|