Secret Hangman With Nillion #38
Thompsonmina
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
A Multiparty Nada Program to perform a game of secret hangman. Three parties, the facilitator, the word provider and the guesser.
The word is represented as an array of secret integers of the letter alphabetic position.
The facilitator doesn't know the word provided, the guesser doesn't know the word provided unless they win, and the word provider and the facilitator do not know the letter that the guesser currently inputs to the program for that round
At each round the program outputs if a submitted letter is part of the word and how many times it occurred. The facilitator is responsible for conducting multiple rounds till a win occurs or a guesser runs out of attempts.
Here is the nada code used
Here is the link to the repo
secret-hangman
Here is a video walkthrough of the build
https://www.loom.com/embed/188593f230214db1a78251ea4324bdac?sid=9d73ae94-4409-4b57-8f16-f252dd8c79f4
Beta Was this translation helpful? Give feedback.
All reactions