Professional Documents
Culture Documents
Visual Basic Program
Visual Basic Program
RIDDLE GAME
TABLE OF CONTENTS
Title Page.................................................................................................................0
Table of Content......................................................................................................1
Project Description..................................................................................................2
Algorithm/Pseudocode............................................................................................4
Program Flowchart..................................................................................................5
Source Code.............................................................................................................6
Output Of the System..............................................................................................12
PROJECT DESCRIPTION
and entertain players with a series of intriguing riddles. Put your problem-
solving skills to the test as you attempt to solve the riddles presented to
you.
Features:
selected riddles that will engage and stimulate your mind. Each riddle
2. Randomized Riddles: With each new game session, the riddles are
on your toes.
3. Score Tracking: The game keeps track of your score, allowing you to
interface, making it easy to read and interact with the riddles. Simply
response.
The Riddle Game is a fun and intellectually stimulating program suitable for
knowledge, and enjoy the thrill of unraveling riddles. Are you up for the
challenge? Start playing the Riddle Game today and put your wits to the
test!
ALGORITHM/PSEUDOCODE
Module Module1
Sub Main()
Dim riddles As String(,) = {{"Many have heard me, but nobody has seen me, and
I will not speak back until spoken to. What am I?", "echo"},
{"I am taken from a mine, and shut up in a wooden
case, from which I am never released, and yet I am used by almost every person. What
am I?", "pencil"},
{"What has keys but can't open locks?", "piano"},
{"What has a heart that doesn't beat?",
"artichoke"},
{"I am full of holes but still holds water. What
am I?", "sponge"},
{"The more you take, the more you leave behind.
What am I?", "footsteps"},
{"I have cities but no houses, forests but no
trees, and rivers but no water. What am I?", "Map"},
{"What comes once in a minute, twice in a moment,
but never in a thousand years?", "M"},
{"I am the beginning of the end, the end of every
place. I am the beginning of eternity, the end of time and space. What am I?", "E"},
{"What can go through glass without breaking it?",
"light"},
{"Take off my skin, I won't cry but you wil.",
"Onion"},
{"If I drink, I die. If I eat, I'm fine. What am
i?", "Fire"},
{"SINONG BOSS", "IVAN"},
{"What has a face and two hands but no arms or
legs?", " clock"},
{"I have keys but no locks. I have space but no
room. You can enter but can't go outside. What am I?", " keyboard"},
{"SI BOSS IVAN AY ", "ASO"},
{"I am an odd number. Take away a letter and I
become even. What number am I?", "seven"},
{"KUNG AKO AY PUGE, ANO KA?", "TAE, NYEE"},
{"AYAN NA AYAN NA HINDI MOPA MAKITA", "HANAPIN
MO"},
{"PINASOK KO NG MALABOT, HINUGOT KO NG MATIGAS",
"TI? YELO"}}
askedRiddles.Add(randomIndex)
riddlesAnswered += 1
Console.WriteLine()
End While
Console.WriteLine()
Console.WriteLine("Your score: " & score & " / 20")
Console.WriteLine("Press any key to exit...")
Console.ReadKey()
End Sub
End Module
OUTPUT OF THE SYSTEM