Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quiz rooms #5

Open
jecimovic opened this issue Nov 12, 2021 · 4 comments
Open

quiz rooms #5

jecimovic opened this issue Nov 12, 2021 · 4 comments

Comments

@jecimovic
Copy link
Collaborator

jecimovic commented Nov 12, 2021

if you try to go to a quiz room you have to answer a question to go
for example:

Go North
What is 1+1
3?
unable to go North

or:

go south
what is 12*12
144?
correct.

proceed to south

:)

@tecimovic
Copy link
Owner

How would you encode this?

Would you have multiple choices, or just type anything?

Something like this:

Quiz q = new Quiz("What is your name?", "Poldi");

And then you do:
room.addQuizDirection("north", room, q);

So basically if you want to go north, you have to answer a "What is your name?" and if you don't type "Poldi" it doesn't let you?

@jecimovic
Copy link
Collaborator Author

How would you encode this?

Would you have multiple choices, or just type anything?

Something like this:

Quiz q = new Quiz("What is your name?", "Poldi");

And then you do: room.addQuizDirection("north", room, q);

So basically if you want to go north, you have to answer a "What is your name?" and if you don't type "Poldi" it doesn't let you?

uhhhh.... it says your name at the beggining. but you should be able to change it. so yeah you can code it like that

@NeonScripter
Copy link
Collaborator

How would you encode this?
Would you have multiple choices, or just type anything?
Something like this:
Quiz q = new Quiz("What is your name?", "Poldi");
And then you do: room.addQuizDirection("north", room, q);
So basically if you want to go north, you have to answer a "What is your name?" and if you don't type "Poldi" it doesn't let you?

uhhhh.... it says your name at the beggining. but you should be able to change it. so yeah you can code it like that

That's a good idea, Julia! You should make a new issue of name changing!

@jecimovic
Copy link
Collaborator Author

How would you encode this?
Would you have multiple choices, or just type anything?
Something like this:
Quiz q = new Quiz("What is your name?", "Poldi");
And then you do: room.addQuizDirection("north", room, q);
So basically if you want to go north, you have to answer a "What is your name?" and if you don't type "Poldi" it doesn't let you?

uhhhh.... it says your name at the beggining. but you should be able to change it. so yeah you can code it like that

That's a good idea, Julia! You should make a new issue of name changing!

yeah. 'kay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants