Compare commits

...

10 Commits

Author SHA1 Message Date
f452ccebe0 Done. 2021-11-21 23:06:29 +01:00
e38e119562 Bonus round 2021-11-20 17:43:01 +01:00
30d409149b Adventure gear 2021-11-20 13:38:28 +01:00
3211619b96 Monster and item progression. 2021-11-17 22:59:16 +01:00
b8f68df801 Character progression 2021-11-17 22:23:36 +01:00
4f543d7298 Second floor please 2021-11-15 22:44:36 +01:00
28ca42a65c Saving and loading 2021-11-13 16:23:28 +01:00
25651d5c82 Main menu and saving 2021-11-13 15:49:48 +01:00
e1b5e25e85 Dropping items 2021-11-13 15:40:00 +01:00
93b270c5f3 Fireball constants 2021-11-13 00:44:35 +01:00
5 changed files with 1041 additions and 168 deletions

2
.gitignore vendored
View File

@ -1 +1,3 @@
/target
savegame.json

82
Cargo.lock generated
View File

@ -20,6 +20,12 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba"
[[package]]
name = "itoa"
version = "0.4.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4"
[[package]]
name = "lazy_static"
version = "1.4.0"
@ -38,6 +44,24 @@ version = "0.3.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c"
[[package]]
name = "proc-macro2"
version = "1.0.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba508cc11742c0dc5c1659771673afbab7a0efab23aa17e854cbab0837ed0b43"
dependencies = [
"unicode-xid",
]
[[package]]
name = "quote"
version = "1.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "38bc8cc6a5f2e3655e0899c1b848643b2562f853f114bfec7be120678e3ace05"
dependencies = [
"proc-macro2",
]
[[package]]
name = "rand"
version = "0.3.23"
@ -90,9 +114,59 @@ name = "roguelike"
version = "0.1.0"
dependencies = [
"rand 0.3.23",
"serde",
"serde_json",
"tcod",
]
[[package]]
name = "ryu"
version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e"
[[package]]
name = "serde"
version = "1.0.130"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f12d06de37cf59146fbdecab66aa99f9fe4f78722e3607577a5375d66bd0c913"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
version = "1.0.130"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7bc1a1ab1961464eae040d96713baa5a724a8152c1222492465b54322ec508b"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "serde_json"
version = "1.0.70"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e277c495ac6cd1a01a58d0a0c574568b4d1ddf14f59965c6a58b8d96400b54f3"
dependencies = [
"itoa",
"ryu",
"serde",
]
[[package]]
name = "syn"
version = "1.0.81"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2afee18b8beb5a596ecb4a2dce128c719b4ba399d34126b9e4396e3f9860966"
dependencies = [
"proc-macro2",
"quote",
"unicode-xid",
]
[[package]]
name = "tcod"
version = "0.15.0"
@ -100,6 +174,8 @@ source = "git+https://github.com/tomassedovic/tcod-rs#d4ad0749867acad6c1e510bf5e
dependencies = [
"bitflags",
"lazy_static",
"serde",
"serde_derive",
"tcod-sys",
]
@ -112,6 +188,12 @@ dependencies = [
"pkg-config",
]
[[package]]
name = "unicode-xid"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
[[package]]
name = "winapi"
version = "0.3.9"

View File

@ -6,5 +6,7 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tcod = { git = "https://github.com/tomassedovic/tcod-rs" }
tcod = { git = "https://github.com/tomassedovic/tcod-rs", features = ["serialization"] }
rand = "0.3.9"
serde = { version = "*", features = ["derive"] }
serde_json = "*"

BIN
menu_background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

File diff suppressed because it is too large Load Diff