{(set: $finance to 8000)(set: $day to 8) (set: $happy to 0)(set: $tried to 0) (set: $hfood to 0)(set: $lfood to 0) (set: $r to 0)} Theme: soulmate ###Starting the trip Bob is my best friend. During this summer, he and I decided to go on a tour to Italy. "Hey, Bob. We should make a [[plan|airline to Rome]] for Italy. We have $finance dollars and $day days available for our trip." Finance: $$finance available Available days: $day days###Choose the airline "Bob, we should choose the flight to Rome. There are two choice for the airline." Finance: $$finance available Available days: $day days "[[The advanced airline|Expensive airline]] looks comfortable and great." Cost: $2400/person, Flight Period: 24h <img src="http://www.econovill.com/news/photo/201502/233047_20432_5538.jpg" width="300" height="180"> "[[The cheap airline|Cheap airline]] would saves our money." Cost: $1600/person, Flight Period: 48h <img src="https://brightcove04pmdo-a.akamaihd.net/4938530627001/4938530627001_5820368761001_5820351396001-vs.jpg?pubId=4938530627001&videoId=5820351396001" width="300" height="180">{(set: $finance to $finance-4800)(set: $day to 7)} ###Choose the airline "Bob, the advanced airline was fast. The food service was very delicious!! Now, we should choose the [[place to sleep]]." Finance: $$finance available Available days: $day days <img src="https://thumbor.forbes.com/thumbor/711x474/https://blogs-images.forbes.com/larryolmsted/files/2018/02/Turkish-InflightChef2.jpg?width=960" width="500" height="300">{(set: $finance to $finance-3200)(set: $day to 6)(set: $tried to $tried+1)} ###Choose the airline "Bob, The flight was too long.... We were able to save money but I'm quite exhausted. Now, we should choose the [[place to sleep]]." Finance: $$finance available Available days: $day days <img src="https://st3.depositphotos.com/9880800/18084/i/1600/depositphotos_180848362-stock-photo-tired-businessman-sleeping-airport-lobby.jpg" width="500" height="300">### Choose the place to sleep "Bob, we have three choices." "[[Hotel]] is very luxury. It will be too happy if we can sleep on this wonderful house. Furthermore, the hotel offers breakfast service!" Cost: $200/day, Offer everyday breakfast <img src="https://s-ec.bstatic.com/images/hotel/max1024x768/681/68184730.jpg" width="300" height="180"> "[[Airbnb]] seems formal place to sleep. The products are well placed." Cost: $80/day <img src="https://media.architecturaldigest.com/photos/5a39377f38bb817b7ffe1dd7/16:9/w_1280%2Cc_limit/airbnb-tips-greenwich-village-apt.jpg" width="300" height="180"> "[[Guest house]] is very cheap! When we save money, we are able to do much more activity." Cost: $50/day <img src="https://images.oyoroomscdn.com/uploads/hotel_image/17738/xlarge/d800ccbd836b2091.jpg" width="300" height="180"> Finance: $$finance available Available days: $day days{(set: $finance to $finance-200*($day-1)) (set: $happy to $happy+3)(set: $ishotel to true)} ### Choose the place to sleep "Hotel was quite expensive! But look at this room.... Heaven is here!" <img src="https://i.ytimg.com/vi/09pDca1mITM/maxresdefault.jpg" width="500" height="300"> "Did you see the dining room on the first floor? That is the place we will have breakfast everyday!" <img src="https://www.boutiquehotelier.com/wp-content/uploads/2017/07/Dining-room.jpg" width="500" height="300"> "Now, we should choose the [[traffic]] on Italy." Finance: $$finance available Available days: $day days{(set: $finance to $finance-80*($day-1)) (set: $ishotel to false)} ### Choose the place to sleep "Bob, Airbnb is quite good. The owner is very kind. The house is clean, too! Now, we should choose the [[traffic]] on Italy." <img src="https://imagesvc.meredithcorp.io/v3/mm/image?url=https%3A%2F%2Fstatic.onecms.io%2Fwp-content%2Fuploads%2Fsites%2F37%2F2018%2F08%2F15220309%2Fmodern-living-room-blue-couch-e7f84498.jpg&w=500&h=335&c=sc&poi=%5B540%2C681%5D&q=85" width="500" height="300"> Finance: $$finance available Available days: $day days{(set: $finance to $finance-50*($day-1)) (set: $tried to $tried+2)(set: $ishotel to false)} ### Choose the place to sleep "Bob, this is so dirty! We may should clean the room every day. This palce is a uncomfortable compared with others. However, we saved lots of money. We can do many thing with this money. Now, we should choose the [[traffic]] on Italy." <img src="https://media-cdn.tripadvisor.com/media/photo-s/06/5d/a7/36/yaudin-guest-house.jpg" width="500" height="300"> Finance: $$finance available Available days: $day days{(set: $d to 1)(set: $event to 1)} ### Choose the traffic "Bob. we should choose the traffic to move around in Rome." "[[Rent car]] is comfortable. Why don;t we go on a drive?" Cost: $50/day <img src="https://cdn2.rcstatic.com/images/site_graphics/newsite/res_car_us.png" width="500" height="180"> "[[Subway]] is cheap. It is well placed in the city." Cost: $10/day <img src="https://www.trbimg.com/img-5b898e4a/turbine/bs-md-mta-subway-review-20180830" width="300" height="180"> Finance: $$finance available Available days: $day days{(set: $finance to $finance-50*($day-1))(set: $iscar to true)} ### Choose the traffic "This car is best to drive!!!!!!!!!! It costs quite a lot but I don't regret it! Big choices are done, then let's start our [[trip]]!" <img src="http://blog.sknetworks.co.kr/wp-content/uploads/2018/11/SK%EB%84%A4%ED%8A%B8%EC%9B%8D%EC%8A%A4_MOST%EC%96%B4%ED%94%8C_%EA%B0%80%EC%9D%84%EB%93%9C%EB%9D%BC%EC%9D%B4%EB%B8%8C_%EC%B6%94%EC%B2%9C10_%EC%8D%B8%EB%84%A4%EC%9D%BC.jpg" width="500" height="300"> Finance: $$finance available Available days: $day days{(set: $finance to $finance-10*($day-1))(set: $iscar to false)} ### Choose the traffic "Subway is cheap. However if we want to go to other city, we may ride a train. Big choices are done, then let's enjoy our [[trip]]!"" Finance: $(print: $finance) available{(set: $time to 0)} (if: $d > $day)["Now we are going home. Our trip is [[end]]."] (else:)[ "Good morning, Bob. It is $d(if: $d is 1)[st](if: $d is 2)[nd](if: $d > 2)[th] day on Italy. ($d/$day) (if: $d is $day)[Today is the last day for our trip.] Before we go out, let's have [[breakfast]] first."] <img src="http://www.executivestyle.com.au/content/dam/images/3/4/m/d/3/image.related.articleLeadwide.620x349.34hlt.png/1428456294765.jpg" width="500" height="300"> Finance: $$finance available(if: $tired > 4)[ (if: $happy > 12)["It was tired, but also very fun trip, Bob!"] (else:)["It too tiring! It was such a bad trip, Bob!"] ] (else:)[ (if: $happy > 10)["It was the best trip, Bob!"] (else:)["It was quite good trip, Bob!"] ] Finance: $$finance left(if: $ishotel)[ (if: $hfood is 0)["Wow, Hotel's breakfast was really good!" <img src="http://cfs9.blog.daum.net/image/18/blog/2008/03/06/14/57/47cf87c86bc84&filename=%ED%81%AC%EA%B8%B0%EB%B3%80%ED%99%98_%EC%81%A0%EB%9D%BC%EB%92%A4%EC%A5%AC%EB%A5%B41.jpg" width="300" height="180">] (if: $hfood is 1)["Today's breakfast was wonderful!" <img src="http://image.chosun.com/sitedata/image/201506/29/2015062902800_0.jpg" width="300" height="180">] (if: $hfood is 2)["Is this possible? Look at these dishes!" <img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRDCzQFS2idWj8RPVUlT8PemPuMtC6MDamxaL6E028kvLhssJEAoQ" width="300" height="180">] (if: $hfood is 3)["It will be impossible to eat all of these!" <img src="https://steemitimages.com/640x0/https://static.tasteem.io/uploads/429/post/11415/content_b3673bb5-2290-4796-8c58-970380935e7a.jpeg" width="300" height="180">(set: $hfood to 0)] (else:)[(set: $hfood to $hfood+1)] [[next|event]]." ] (else:)[ "There are two choices. One is really good and delicous breakfast which costs $80. The other is ordinary one which costs $40." (if: $finance > 80)[Eat the [[expensive breakfast]]. Cost: $80] (if: $finance > 40)[Eat the [[ordinary breakfast]]. Cost: $40] [[Starve]]. ] Finance: $$finance available Availalbe days: $day days{(set: $happy to $happy+1)(set: $finance to $finance-80)} (if: $hfood is 0)["Wow, Hotel's breakfast was really good!" <img src="http://cfs9.blog.daum.net/image/18/blog/2008/03/06/14/57/47cf87c86bc84&filename=%ED%81%AC%EA%B8%B0%EB%B3%80%ED%99%98_%EC%81%A0%EB%9D%BC%EB%92%A4%EC%A5%AC%EB%A5%B41.jpg" width="300" height="180">] (if: $hfood is 1)["Today's breakfast was wonderful?" <img src="http://image.chosun.com/sitedata/image/201506/29/2015062902800_0.jpg" width="300" height="180">] (if: $hfood is 2)["Is this possible? Look at these dishes!" <img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRDCzQFS2idWj8RPVUlT8PemPuMtC6MDamxaL6E028kvLhssJEAoQ" width="300" height="180">] (if: $hfood is 3)["It will be impossible to eat all of these!" <img src="https://steemitimages.com/640x0/https://static.tasteem.io/uploads/429/post/11415/content_b3673bb5-2290-4796-8c58-970380935e7a.jpeg" width="300" height="180">(set: $hfood to 0)] (else:)[(set: $hfood to $hfood+1)] [[next|event]] Finance: $$finance available{(set: $finance to $finance-40)} "Bob, this meal has reasonable price and quite delicous!!" (if: $lfood is 0)[<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS3kMapfB26kMMdayXSJ1ij_Diazp25fmXwfU4rUZGHk1yM4_Xs" width="300" height="180">] (if: $lfood is 1)[<img src="https://st2.depositphotos.com/2001403/12059/i/950/depositphotos_120594538-stock-photo-breakfast-in-restaurant-with-omelet.jpg" width="300" height="180">] (if: $lfood is 2)[<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSZt9DIcqzbO3pf8gjwYm_7bBVsl5UbuMRW5BwczSW7V7-U7Uk_" width="300" height="180">] (if: $lfood is 3)[<img src="https://i.pinimg.com/originals/f1/5e/16/f15e1662f5a638cf54b991ca2a07ac04.jpg" width="300" height="180">] (if: $lfood is 4)[<img src="https://media-cdn.tripadvisor.com/media/photo-s/0e/84/03/1c/photo0jpg.jpg" width="300" height="180">(set: $lfood to 0)] (else:)[(set: $lfood to $lfood+1)] [[next|event]] Finance: $$finance available{(set: $tired to $tired+1)} "I'm hungry, Bob..." <img src="https://eatouteatwell.com/wp-content/uploads/2011/04/hungry-man-cartoon.jpg" width="300" height="180"> [[next|event]] Finance: $$finance available(if: $time > 0)["It is dark now. Let's go home Bob." <img src="https://is2-ssl.mzstatic.com/image/thumb/Music128/v4/4b/de/98/4bde98a7-dbed-bfe1-1800-92afaeb54cf5/asset.jpg/268x0w.jpg" width="500" height="300"> [[next|trip]] {(set: $d to $d+1)}] (else:)[ (if: $event is 1)["Oh Bob, there is Colosseum!!! Will we go there?" "It costs $50!" (if: $finance > 100)[[yes|Colosseum]] [[no|nothing]] ] (if: $event is 2)["Oh Bob, there is Vatican City Will we go there?" "It costs $150!" (if: $finance > 200)[[yes|Vatican City]] [[no|nothing]] ] (if: $event is 3)["Oh Bob, there is Pantheon!!!" "It costs $50!" (if: $finance > 100)[[yes|Pantheon]] [[no|nothing]] ] (if: $event is 4)["Oh Bob, Will we go to Venice???" (if: $iscar)["We have a car. Let's [[go|Venice]]!!!"] (else:)[ "We need to ride a train. It's $150." (if: $finance > 200)[[yes|Venice]] [[no|nothing]] ] ] (if: $event is 5)["Oh Bob, Will we go to Milan???" (if: $iscar)["We have a car. Let's [[go|Milan]]!!!"] (else:)[ "We need to ride a train. It's $100." (if: $finance > 100)[[yes|Milan]] [[no|nothing]] ] ] (if: $event is 6)["Oh Bob, Lets go shopping. It would take $400!" (if: $finance > 400)[[yes|shopping]] [[no|nothing]] ] (if: $event is 7)["Oh Bob, Lets go to Pisa." (if: $iscar)[ "We have a car. Therefore, we need to pay only $100!" (if: $finance > 100)[[yes|Pisa1]] [[no|nothing]] ] (else:)[ "We need to ride a train. It's total $200." (if: $finance > 200)[[yes|Pisa2]] [[no|nothing]] ] ] ] Finance: $$finance available Availalbe days: $day days{(set: $finance to $finance-100)(set: $happy to $happy+1)} "This is great place!!! Let's take some photo, Bob!" <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/ab/Colosseo_di_Roma_panoramic.jpg/800px-Colosseo_di_Roma_panoramic.jpg" width="500" height="300"> Colosseum was a good place to us. "Bob, Let keep see something." [[next|random event]] Finance: $$finance available{(set: $finance to $finance-200)(set: $happy to $happy+2)} "This is so good!!! Let's take some photo, Bob!" <img src="https://post-phinf.pstatic.net/MjAxNzEyMjhfMjIy/MDAxNTE0NDQwNjU0Nzc5.aHFOmHjXdM8bkckewtLKN_bxZugbttuNB0ixXSaic0gg.EPTqW0KG4bWO9MBmpfSRP5W8POCAdHU1Nir5OQHYJ-og.JPEG/%EC%9D%B4%ED%83%88%EB%A6%AC%EC%95%84_%EB%A1%9C%EB%A7%88_%EB%B0%94%ED%8B%B0%EC%B9%B8%ED%88%AC%EC%96%B4_%EC%98%88%EC%95%BD_%281%29.jpg?type=w1200" width="500" height="300"> Vatican City was a good place to us. "Bob, Let keep see something." [[next|random event]] Finance: $$finance available {(set: $finance to $finance-100)(set: $happy to $happy+1)} "This is real??!! Let's take some photo, Bob!" <img src="https://www.ancient.eu/img/r/p/500x600/8297.jpg?v=1520937625" width="500" height="300"> Pantheon was a good place to us. "Bob, Let keep see something." [[next|random event]] Finance: $$finance available (set: $r to (random: 1, 10)) (if: $r is 1)[(set: $tried to $tried+3) (if: $finance < 500)[(set: $finance to 0)] (else:)[(set: $finance to $finance - 500)] "Bob, we met the thief!! We lost $500! I'm so sad." <img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQMpOIwAJzwFbC7NUv3T1kvx9mnnhsaJeGN8JntCza51gENqlU9" width="300" height="180"> "It's too sad, but We should keep going on." [[next|meal]] ] (else-if: $r is 2)[(set: $tried to $tried+3) (if: $finance < 1000)[(set: $finance to 0)] (else:)[(set: $finance to $finance - 1000)] "Bob, we met the robber!! We lost $1000! This can't be possible....." <img src="https://www.americanbazaaronline.com/wp-content/uploads/2015/07/robbery.jpg" width="300" height="180"> "It's too sad, but We should keep going on." [[next|meal]] ] (else-if: $r is 3)[ (set: $finance to $finance + 1000) "Bob, I've got the lottery!! I've got $1000!!" <img src="https://dailygazette.com/sites/default/files/styles/article_image/public/shutterstock_568876501_1_0.jpg?itok=XhikTOdt" width="300" height="180"> [[next|meal]] ] (else-if: $r is 5)[ Bob and I walked around and go into the casino. "Bob, we can get $1000 for probability 1/3 or lose $500 for probability 2/3." <img src="http://cfile209.uf.daum.net/image/206AF74B505FA8B4359751"> (if: $finance > 499)[[Bet|result]] [[Don't Bet|re]] ] (else-if: $r is 6)[ Bob and I walked around and go into the casino. "Bob, we can get $1000 for probability 1/3 or lose $500 for probability 2/3." <img src="http://cfile209.uf.daum.net/image/206AF74B505FA8B4359751"> (if: $finance > 499)[[Bet|result]] [[Don't Bet|re]] ] (else:)[ We walk the city around and the time becomes to have meal. (set: $event to $event+1) "It's time to have meal, Bob. There are two choices. One is really good and delicous meal which costs $100. The other is ordinary one which costs $50." (if: $finance > 100)[Eat the [[expensive meal]].] (if: $finance > 50)[Eat the [[ordinary meal]].] [[Starve|starve meal]] ] Finance: $$finance available{(set: $happy to $happy+1)(set: $time to 1) (set: $finance to $finance-100)} (if: $hfood is 0)["Wow, Hotel's breakfast was really good!" <img src="http://cfs9.blog.daum.net/image/18/blog/2008/03/06/14/57/47cf87c86bc84&filename=%ED%81%AC%EA%B8%B0%EB%B3%80%ED%99%98_%EC%81%A0%EB%9D%BC%EB%92%A4%EC%A5%AC%EB%A5%B41.jpg" width="300" height="180">] (if: $hfood is 1)["Today's breakfast was wonderful?" <img src="http://image.chosun.com/sitedata/image/201506/29/2015062902800_0.jpg" width="300" height="180">] (if: $hfood is 2)["Is this possible? Look at these dishes!" <img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRDCzQFS2idWj8RPVUlT8PemPuMtC6MDamxaL6E028kvLhssJEAoQ" width="300" height="180">] (if: $hfood is 3)["It will be impossible to eat all of these!" <img src="https://steemitimages.com/640x0/https://static.tasteem.io/uploads/429/post/11415/content_b3673bb5-2290-4796-8c58-970380935e7a.jpeg" width="300" height="180">(set: $hfood to 0)] (else:)[(set: $hfood to $hfood+1)] [[next|event]] Finance: $$finance available{(set: $time to 1)(set: $finance to $finance-50)} "It was a Good meal, Bob!" (if: $lfood is 0)[<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS3kMapfB26kMMdayXSJ1ij_Diazp25fmXwfU4rUZGHk1yM4_Xs" width="300" height="180">] (if: $lfood is 1)[<img src="https://st2.depositphotos.com/2001403/12059/i/950/depositphotos_120594538-stock-photo-breakfast-in-restaurant-with-omelet.jpg" width="300" height="180">] (if: $lfood is 2)[<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSZt9DIcqzbO3pf8gjwYm_7bBVsl5UbuMRW5BwczSW7V7-U7Uk_" width="300" height="180">] (if: $lfood is 3)[<img src="https://i.pinimg.com/originals/f1/5e/16/f15e1662f5a638cf54b991ca2a07ac04.jpg" width="300" height="180">] (if: $lfood is 4)[<img src="https://media-cdn.tripadvisor.com/media/photo-s/0e/84/03/1c/photo0jpg.jpg" width="300" height="180">(set: $lfood to 0)] (else:)[(set: $lfood to $lfood+1)] [[next|event]] Finance: $$finance available Availalbe days: $day days{(set: $tired to 1)(set: $time to $time+1)} "I'm hungry, Bob......." [[next|event]] Finance: $$finance available Availalbe days: $day days{(set: $tried to $tried+1)} "I'm boring, Bob.... Also, doing nothing makes me tiring... Let's go and see something." [[next|random event]] Finance: $$finance available {(set: $finance to $finance-200)(set: $happy to $happy+2)} "What s beautiful ocean!!! Let's take some photo, Bob!" <img src="https://previews.123rf.com/images/atomdruid/atomdruid1511/atomdruid151100103/47851546-%EB%8C%80%EC%9A%B4%ED%95%98-%EB%B0%8F-%EB%A6%AC%EC%95%8C%ED%86%A0-%EB%8B%A4%EB%A6%AC-%EB%B2%A0%EB%8B%88%EC%8A%A4-%EC%9D%B4%ED%83%88%EB%A6%AC%EC%95%84.jpg" width="500" height="300"> Venice was a good place to us. "Bob, Let keep see something." [[next|random event]] Finance: $$finance available {(set: $finance to $finance-100)(set: $happy to $happy+2)} "What s beautiful place!!! Let's take some photo with those sites, Bob!" <img src="http://www.koreadaily.com/_data/article_img/2015/03/26/182504109.jpg" width="500" height="300"> Milan was a good place to us. "Bob, Let keep see something." [[next|random event]] Finance: $$finance available {(set: $finance to $finance-400)(set: $happy to $happy+3)} "There are so good stuffs and goods, Bob!!!" <img src="https://scontent.cdninstagram.com/vp/49f4a98bb33fa95a68e307998ff8be28/5D5DFCEE/t51.2885-15/e35/c212.0.1016.1016/s480x480/59701997_436843280442771_3176245563493752906_n.jpg?_nc_ht=scontent-sea1-1.cdninstagram.com" width="500" height="300"> We spend lots of money on shopping. "Bob, Let keep see something." [[next|random event]] Finance: $$finance available{(set: $finance to $finance-100)(set: $happy to $happy+1)} "What s beautiful place!!! Let's take some photo with those sites, Bob!" <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f2/Leaning_Tower_of_Pisa.jpg/300px-Leaning_Tower_of_Pisa.jpg"> Pisa was a good place to us. "Bob, Let keep see something." [[next|random event]] Finance: $$finance available{(set: $finance to $finance-200)(set: $happy to $happy+1)} "What s beautiful place!!! Let's take some photo with those sites, Bob!" <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f2/Leaning_Tower_of_Pisa.jpg/300px-Leaning_Tower_of_Pisa.jpg"> Pisa was a good place to us. "Bob, Let keep see something." [[next|random event]] Finance: $$finance available {(set: $event to $event+1)} "It's time to have meal, Bob. There are two choices. One is really good and delicous meal which costs $100. The other is ordinary one which costs $50." (if: $finance > 100)[Eat the [[expensive meal]].] (if: $finance > 50)[Eat the [[ordinary meal]].] [[Starve|starve meal]] Finance: $$finance available(set: $bet to (random: 1, 3)) (if: $bet is 1)[ "Bob! we got $1000!!!!" (set: $finance to $finance+1000) Now, let's go out. [[next|meal]] ] (else:)[ "Bob..... we lost $500...." (set: $finance to $finance-500) [[next|meal]] ] Finance: $$finance availableWe didn't bet and get out from casino. [[next|meal]] Finance: $$finance available