TDWTF Plays Hangman
-
@error_bot "PURVEYANCES"
-
โโโโโโโโ โ โ โ โ โ โ โ โโโโฌโโโ P U R V E Y A N C E S T
-
โโโโโโโโ โ โ โ โ โ โ โ โโโโฌโโโ โฐ โฐ โฐ โฐ โฐ โฐ โฐ โฐ โฐ โฐ
-
@error_bot "PURVEYANCES"
-
The word is not PURVEYANCES.
-
@error_bot "PURVEYANCE"
-
@error_bot If you're going to lock me out, you should tell me for how long.
-
@Zecc said in TDWTF Plays Hangman:
@error_bot If you're going to lock me out, you should tell me for how long.
Full word guess: 12 hours
-
@error_bot "miscatalog"
-
โโโโโโโโ โ โ โ โ โ โ โ โโโโฌโโโ M I S C A T A L O G PURVEYANCES
-
โโโโโโโโ โ โ โ โ โ โ โ โโโโฌโโโ โฐ โฐ โฐ โฐ โฐ โฐ โฐ โฐ โฐ
-
@error said in TDWTF Plays Hangman:
Filed under: I couldn't use my deluxe command parser because of the special parsing rules.
Funny thing, mine would handle it perfectly with no additional customization.
-
@pie_flavor said in TDWTF Plays Hangman:
@error said in TDWTF Plays Hangman:
Filed under: I couldn't use my deluxe command parser because of the special parsing rules.
Funny thing, mine would handle it perfectly with no additional customization.
Mine does too, now. It's already in.
-
I mean:
@error_bot could have said in TDWTF Plays Hangman:
The word is not PURVEYANCES.
Try again in 12 hours</o>
-
@error said in TDWTF Plays Hangman:
@pie_flavor said in TDWTF Plays Hangman:
@error said in TDWTF Plays Hangman:
Filed under: I couldn't use my deluxe command parser because of the special parsing rules.
Funny thing, mine would handle it perfectly with no additional customization.
Mine does too, now. It's already in.
I just had to write an "anonymous command" type for special threads like this where the command is implicit.
-
@error mine Just Worksโข - I would just annotate it
[Command(""), RequireTopic(26797)]
-
@pie_flavor said in TDWTF Plays Hangman:
@error mine Just Worksโข - I would just annotate it
[Command(""), RequireTopic(26797)]
Fails to distinguish the guess letter command from guess word.
-
@error no it doesn't.
[Command(""), RequireTopic(26797), Priority(1)] public async Task GuessLetter(char letter) => ...; [Command(""), RequireTopic(26797)] public async Task GuessWord(string word) => ...;
-
@error said in TDWTF Plays Hangman:
@pie_flavor said in TDWTF Plays Hangman:
@error mine Just Worksโข - I would just annotate it
[Command(""), RequireTopic(26797)]
Fails to distinguish the guess letter command from guess word.
Also dislike the topic ID in there. What if I want multiple threads?
-
@error said in TDWTF Plays Hangman:
@error said in TDWTF Plays Hangman:
@pie_flavor said in TDWTF Plays Hangman:
@error mine Just Worksโข - I would just annotate it
[Command(""), RequireTopic(26797)]
Fails to distinguish the guess letter command from guess word.
Also dislike the topic ID in there. What if I want multiple threads?
[Command(""), RequireTopic(26797, Group = "Hangman"), RequireTopic(26798, Group="Hangman")]
Or, alternatively, I could make some new classRequireThemedTopicAttribute
, which takes a string constant and checks the TID against an array in the config. That's the fun of extensibility - as long as it extendsPreconditionAttribute
it just immediately works.
It's a really good command system. Feel free to steal it.
-
@pie_flavor said in TDWTF Plays Hangman:
@error said in TDWTF Plays Hangman:
@error said in TDWTF Plays Hangman:
@pie_flavor said in TDWTF Plays Hangman:
@error mine Just Worksโข - I would just annotate it
[Command(""), RequireTopic(26797)]
Fails to distinguish the guess letter command from guess word.
Also dislike the topic ID in there. What if I want multiple threads?
[Command(""), RequireTopic(26797, Group = "Hangman"), RequireTopic(26798, Group="Hangman")]
Or, alternatively, I could make some new classRequireThemedTopicAttribute
, which takes a string constant and checks the TID against an array in the config. That's the fun of extensibility - as long as it extendsPreconditionAttribute
it just immediately works.
It's a really good command system. Feel free to steal it.Nah, I like mine better. You can instantiate a module multiple times, with different parameters. That's how I had 8 CLI games running in parallel in separate threads.
-
Also, you can recompile and reload a module without restarting the host or the other modules, and pass state from the previous instance to the new one so your game isn't interrupted. It takes under 10ms from saving the source to having it running.
-
-
โโโโโโโโ โ โ โ โ โ โ โ โโโโฌโโโ โฐ โฐ โฐ โฐ โฐ โฐ โฐ โฐ โฐ E
-
-
โโโโโโโโ โ โ โ โ โ โ โ โ โโโโฌโโโ โฐ โฐ โฐ โฐ โฐ โฐ โฐ โฐ โฐ E U
-
-
-
-
@_P_ timeout after a bad letter.
-
-
โโโโโโโโ โ โ โ โ โ โ โ โ โโโโฌโโโ โฐ โฐ โฐ โฐ N โฐ โฐ โฐ N E U
-
-
โโโโโโโโ โ โ โ โ โ โ โ โ โโโโฌโโโ โฐ โฐ โฐ A N โฐ โฐ โฐ N E U
-
-
โโโโโโโโ โ โ โ โ โ โ โ โ โโโโฌโโโ โฐ O โฐ A N โฐ โฐ โฐ N E U
-
-
โโโโโโโโ โ โ โ โ โ โ โ โ โโโโฌโโโ โฐ O โฐ A N I โฐ I N E U
-
-
-
โโโโโโโโ โ โ โ โ โโจ โ โ โ โโโโฌโโโ โฐ O โฐ A N I โฐ I N E U T
-
-
โโโโโโโโ โ โ โ โ โโโ โ โ โ โโโโฌโโโ โฐ O โฐ A N I โฐ I N E U T M
-
-
-
-
-
โโโโโโโโ โ โ โ โ โโโ โ โ โ โโโโฌโโโ โฐ O โฐ A N I L I N E U T M
-
@error_bot "ROSANILIN"
-