move games to dir

This commit is contained in:
me 2025-12-25 00:14:47 +02:00
parent 5d47366ea9
commit bb5a24fa2b
5 changed files with 2 additions and 3 deletions

View file

@ -12,8 +12,7 @@ test:
.PHONY: run
run:
# RUST_BACKTRACE=1 cargo run -- game.ayin
cargo run -- game.ayin
cargo run -- games/there-she-is.ayin
.PHONY: review
review:

View file

@ -66,7 +66,7 @@ fn read_file() -> std::io::Result<String> {
}
#[cfg(target_arch = "wasm32")]
fn read_file() -> std::io::Result<String> {
Ok(include_str!("../game.ayin").to_string())
Ok(include_str!("../games/there-she-is.ayin").to_string())
}
#[cfg(not(target_arch = "wasm32"))]