Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grongor/vito-lang-challenge
Task assignment for https://twitter.com/hashtag/vanocesvitou
https://github.com/grongor/vito-lang-challenge
Last synced: 2 days ago
JSON representation
Task assignment for https://twitter.com/hashtag/vanocesvitou
- Host: GitHub
- URL: https://github.com/grongor/vito-lang-challenge
- Owner: grongor
- Created: 2015-12-24T10:24:54.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-24T11:26:18.000Z (almost 9 years ago)
- Last Synced: 2024-10-12T13:39:45.984Z (about 1 month ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
VitoLang challenge
==================The goal of this challenge is to make your own game in your own language - VitoLang!
The game's name is "Guess developer" and is based on the famous game "Guess animal".
Your task is to make a program which will ask a user several questions about the Heureka developer
which the user is thinking about and to which the user can reply with simple yes/no answers.
When the program is sure which developer the user is thinking about then it will print out
his/her name. If the program is not sure and is out of questions it should make a
guess - pick random suiting answer. After that it should ask the user if it's answer is
correct. The user will again reply with yes/no answer. If the program succeded in guessing
the developers name it should print out a success message. Othwerwise it should somehow
apologize and ask user to help it out - it should ask the user to enter another question
and it's correct answer. The program will store that question to it's database and use it
next time to guess the developer more precisely.You must complete that task in your own language - VitoLang! You can find all about it
there: https://github.com/grongor/vito-langThe initial database of developers should contain at most 7 developers. The rest must be
learned by the program itself.The challenge will be considered done if you provide us with your source code in VitoLang.
You also have to post a video on Twitter with hashtag #vanocesvitou which
will show how the program learned to recognize a new developer (first it fail's to guess
correctly and on a second run with same questions the programm will decide correctly).The entire interface, questions etc are up to your imagination. Please check "Guess animal
example if you are still not sure about the task.Good luck and have fun! :-)
"Guess animal" example
----------------------```
vit.novak $ chci guess-animal.nohyHey, vit.novak, wanna play a game?
Think about an animal and I will tell you what animal you are thinking about.
Are you ready?
> YesDoes the animal fly?
> NoDoes the animal live in water?
> NoIs it a home animal?
> YesThe animal you were thinking about is a cat.
Is that correct?
> NoJeeeez ... well, maybe next time I will do better.
What was the animal you were thinking about?
> dogOk, I should've seen that comming.
Can you type in a question that would help me distinguish between cat and dog next time?
> Does it often chase it's own tail?Nice one ... and the answer is?
> YesOkey, I will remember that. Thank you ;-)
vit.novak $
vit.novak $ chci guess-animal.nohyHey, vit.novak, wanna play a game?
Think about an animal and I will tell you what animal you are thinking about.
Are you ready?
> YesDoes the animal fly?
> NoDoes the animal live in water?
> NoIs it a home animal?
> YesDoes it often chase it's own tail?
> YesThe animal you were thinking about is a dog.
Is that correct?
> Yes*epic music playing* Of course it is :-)
```