Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nguyenductung2709-dt/hanoiadventure
This is my final project in which I collaborate with my friend Nguyen Vu Minh for course Programming 1 in Aalto University.
https://github.com/nguyenductung2709-dt/hanoiadventure
oop-principles scala
Last synced: about 9 hours ago
JSON representation
This is my final project in which I collaborate with my friend Nguyen Vu Minh for course Programming 1 in Aalto University.
- Host: GitHub
- URL: https://github.com/nguyenductung2709-dt/hanoiadventure
- Owner: nguyenductung2709-dt
- Created: 2023-11-23T11:24:36.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-06T20:40:39.000Z (11 months ago)
- Last Synced: 2024-06-20T17:27:18.347Z (5 months ago)
- Topics: oop-principles, scala
- Language: Scala
- Homepage:
- Size: 3.23 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
I. INTRODUCTION:
- HanoiAdventure is a game where you get a chance to enjoy the cuisine, wander around the districts and answer trivia about the city.II. GOAL:
- The goal of this game is to go home after eating all the cuisine. You will need money to buy the cuisine, and the money can be earned by answering questions (20000VND/question) in Quoc Tu Giam (Imperial Academy - the first university in Vietnam). You also need stamina to perform certain actions, and you can refill it by drinking soft drinks from Circle K.III. LOSS CONDITIONS:
- You have answered all the questions but still don't have enough money to buy all the remaining cuisine.
- You ran out of stamina and you don't have any drink in your inventory.
- You quit.IV. MAP:
- The map consists of 12 districts of Hanoi:
1. Hoan Kiem: Has cuisine(s). Home is here.
2. Dong Da: Has cuisine(s). Quoc Tu Giam is here.
3. Hai Ba Trung: Has cuisine(s).
4. Hoang Mai: Has cuisine(s).
5. Cau Giay: Has cuisine(s).
6. Thanh Xuan : Has cuisine(s).
7. Ha Dong : Has cuisine(s).
8. Tay Ho : Has cuisine(s).
9. Ba Dinh : Doesn't have cuisine. Circle K is here.
10. Bac Tu Liem : Doesn't have cuisine. Circle K is here.
11. Nam Tu Liem : Doesn't have cuisine. Circle K is here.
12. Long Bien : Doesn't have cuisine. Circle K is here.V. CUISINES, DRINKS AND QUESTIONS:
- The prices of the cuisines range from 10000VND to 70000VND. There are 9 cuisines.
- The prices of the drinks range from 1000VND to 25000VND. There are 5 drinks.
- Each right answer worths 20000VNDV. COMMANDS:
1. Basic commands:
"go" + (direction) => go to another district in the (direction). Cost 7 staminas
"gohome" => go home (if possible)
"checkwallet" => check your money
"quit" => quit the game2. Food commands:
"eat" + (cuisineName) => buy and eat the (cuisineName)
"eaten" => check what cuisine have you eaten3. Circle K and drink commands:
"enterCircleK" => enter Circle K (if possible)
"exitCircleK" => exit Circle K (if you are in it)
"buy" + (number) => buy item number (number) if you are in Circle K
"drink" + (drinkName) => drink (drinkName)
"checkinventory" => check the drinks you have in your inventory4. Quoc Tu Giam commands:
"enterQuocTuGiam" => enter Quoc Tu Giam (if possible)
"exitQuocTuGiam" => exit Quoc Tu Giam (if you are in it)
"A" => answer question with A. Cost 4 staminas
"B" => answer question with B. Cost 4 staminas
"C" => answer question with C. Cost 4 staminas
"D" => answer question with D. Cost 4 staminas