hangman (0.1.0)
Published 2023-07-17 16:29:08 +02:00 by justine
Installation
[registry]
default = "gitea"
[registries.gitea]
index = "sparse+ " # Sparse index
# index = " " # Git
[net]
git-fetch-with-cli = true
cargo add hangman@0.1.0
About this package
What ?
A hangman. I was bored and needed to get into Rust again.
How ?
just cargo run it.
IM A BORED SYSADMIN
Try to find the word, he
e
Letter > NO
===> ['e'], LIVES 9
_____
A
Letter > NO
===> ['e', 'a'], LIVES 8
_____
i
Letter > YES
===> ['e', 'a', 'i'], LIVES 8
_i___
u
Letter > NO
===> ['e', 'a', 'i', 'u'], LIVES 7
_i___
o
Letter > YES
===> ['e', 'a', 'i', 'u', 'o'], LIVES 7
_i_o_
p
Letter > NO
===> ['e', 'a', 'i', 'u', 'o', 'p'], LIVES 6
_i_o_
n
Letter > NO
===> ['e', 'a', 'i', 'u', 'o', 'p', 'n'], LIVES 5
_i_o_
s
Letter > YES
===> ['e', 'a', 'i', 'u', 'o', 'p', 'n', 's'], LIVES 5
_i_os
l
Letter > NO
===> ['e', 'a', 'i', 'u', 'o', 'p', 'n', 's', 'l'], LIVES 4
_i_os
t
Letter > NO
===> ['e', 'a', 'i', 'u', 'o', 'p', 'n', 's', 'l', 't'], LIVES 3
_i_os
d
Letter > NO
===> ['e', 'a', 'i', 'u', 'o', 'p', 'n', 's', 'l', 't', 'd'], LIVES 2
_i_os
v
Letter > NO
===> ['e', 'a', 'i', 'u', 'o', 'p', 'n', 's', 'l', 't', 'd', 'v'], LIVES 1
_i_os
b
Letter > NO
===> ['e', 'a', 'i', 'u', 'o', 'p', 'n', 's', 'l', 't', 'd', 'v', 'b'], LIVES 0
_i_os
The word was "giros"
You died, sucker
Dependencies
ID | Version |
---|---|
random_word | ^0.3.0 |
Details
2023-07-17 16:29:08 +02:00
Assets (1)
Versions (1)
View all
Cargo
9
2.9 KiB
hangman-0.1.0.crate
2.9 KiB
0.1.0
2023-07-17