From 8c1a17b74ec774853d3347c26d5433a262266592 Mon Sep 17 00:00:00 2001 From: Joel Utoware Date: Fri, 2 Oct 2020 09:13:41 +0100 Subject: [PATCH 01/15] init --- StoryD7.py | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/StoryD7.py b/StoryD7.py index 4a3b0e7..bdb4cdf 100644 --- a/StoryD7.py +++ b/StoryD7.py @@ -1,26 +1,5 @@ -# Put story into here -#Mateusz code - - - - - - - - - - - - - - - - - -#someone else - - - - +#next=False +#while next==False: +print("After he uses the time machine for the second time, he arrives in New York in the 21st century. He saw so many things different, at the start he was excited because it was everything new and they have so many things to learn. In the 21st century, the technology is massive they have self-driving cars, pervasive smartphones, hoverboards, household robots that clean, cook and practically can do everything and he wants to learn how things do what they do. He was a little bit lost at the beginning, but he was willing to learn everything, so he starts working at a bar to learn their language and their costumes. One year later he starts to learn more about the technology around him and he starts to understand how machines do what they do. He reaches a point when he is working at a big technology company in New York, he bought a new house a good car but he was not satisfied. It felt like something was missing but he doesn’t know why... Maybe he already learnd everything he wanted at the 21st century.\n When Ricardo realized that a time travel with the time machine requires a real variety of resources he noticed that the several travells he made had already drained its batteries and it needs recharging, but plutonium (the main source of energy) is not so easy to find in the present period. After some thinking Ricardo came up with two ideas for completing his plan to travel in time and space. While the [[first idea|First idea]] he had was great and would probably worked well he chose the [[second ideia|Second idea]]\n He starts to create his technology and try to improve the time machine so he can go wherever he wants and the time he wants. [[Twenty years have passed...|Twenty years later]]") From 82651e9b61a3b286c8692da0bfd892504e45a459 Mon Sep 17 00:00:00 2001 From: Joel Utoware Date: Fri, 2 Oct 2020 09:38:33 +0100 Subject: [PATCH 02/15] 21st --- StoryD7.py | 42 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/StoryD7.py b/StoryD7.py index bdb4cdf..9426aab 100644 --- a/StoryD7.py +++ b/StoryD7.py @@ -1,5 +1,41 @@ -#next=False -#while next==False: -print("After he uses the time machine for the second time, he arrives in New York in the 21st century. He saw so many things different, at the start he was excited because it was everything new and they have so many things to learn. In the 21st century, the technology is massive they have self-driving cars, pervasive smartphones, hoverboards, household robots that clean, cook and practically can do everything and he wants to learn how things do what they do. He was a little bit lost at the beginning, but he was willing to learn everything, so he starts working at a bar to learn their language and their costumes. One year later he starts to learn more about the technology around him and he starts to understand how machines do what they do. He reaches a point when he is working at a big technology company in New York, he bought a new house a good car but he was not satisfied. It felt like something was missing but he doesn’t know why... Maybe he already learnd everything he wanted at the 21st century.\n When Ricardo realized that a time travel with the time machine requires a real variety of resources he noticed that the several travells he made had already drained its batteries and it needs recharging, but plutonium (the main source of energy) is not so easy to find in the present period. After some thinking Ricardo came up with two ideas for completing his plan to travel in time and space. While the [[first idea|First idea]] he had was great and would probably worked well he chose the [[second ideia|Second idea]]\n He starts to create his technology and try to improve the time machine so he can go wherever he wants and the time he wants. [[Twenty years have passed...|Twenty years later]]") +next=False +while next==False: + #ensures the correct option leads to the next section + print(""" + After he uses the time machine for the second time, + he arrives in New York in the 21st century. He saw so many things different, at the start he was excited because it was everything new and they have so many things to learn. In the 21st century, the technology is massive they have self-driving cars, pervasive smartphones, hoverboards, household robots that clean, cook and practically can do everything and he wants to learn how things do what they do. He was a little bit lost at the beginning, but he was willing to learn everything, so he starts working at a bar to learn their language and their costumes. One year later he starts to learn more about the technology around him and he starts to understand how machines do what they do. He reaches a point when he is working at a big technology company in New York, he bought a new house a good car but he was not satisfied. It felt like something was missing but he doesn’t know why... Maybe he already learnd everything he wanted at the 21st century. + + When Ricardo realized that a time travel with the time machine requires a real variety of resources he noticed that the several travells he made had already drained its batteries and it needs recharging, but plutonium (the main source of energy) is not so easy to find in the present period. After some thinking Ricardo came up with two ideas for completing his plan to travel in time and space. While the [first] idea he had was great and would probably worked well he chose the [second] idea + + He starts to create his technology and try to improve the time machine so he can go wherever he wants and the time he wants. [twenty] years have passed...""") + #main paragraph + + choice=input("Enter choice by typing the word in square brackets") + #allows user to input choices + if choice=="first": + print("""He can become a famous scientist and gain the trust of researchers to get plutonium. + + -Returning to previous page-""") + + elif choice=="second": + print("""He can continue to develop the project and modify the time machine and further steal the plutonium. + -Returning to previous page-""") + elif choice=="twenty": + next=True + print("""He still hasn’t found a way to fix the machine, he travels to Tokyo to meet a friend who can try to help him, when he arrives in Tokyo he saw that technology was superior to new York and he thought “how will Tokyo be in 2090?”. + + Five years later he finds a way to fix the time machine and he started preparing to travel to Tokyo 2090. + + Ricardo landed in Tokyo, 2090. From being a technological powerhouse at the start of the 21st century, Tokyo is now the largest and most dominant capital globally, thanks to their investment in the science area. Everything is very accessible and developed, both economically and infrastructurally. From the road markings to the gigantic billboards present in every uber, the streets are full of LEDs everywhere, even more than before! Some people dislike it and say it's ugly and visual pollution, while others love it and find it fascinating. + + He decided to take in the views of the city whilst he was there""") + else: + print("Please ensure the exact word is used(including case)") + #makes sure choice is valid + +next=False +while next==False: + + print: From 7e642c94952db82f7e42550816d3b13f30650bc5 Mon Sep 17 00:00:00 2001 From: Joel Utoware Date: Fri, 2 Oct 2020 09:51:01 +0100 Subject: [PATCH 03/15] DON --- StoryD7.py | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/StoryD7.py b/StoryD7.py index 9426aab..b93bd90 100644 --- a/StoryD7.py +++ b/StoryD7.py @@ -37,5 +37,31 @@ while next==False: next=False while next==False: - print: + print("""Japan had changed so much since the start of the 21st century. + + Japan is now fully autonomous. There is no need to work anymore. Doctors have been replaced by medical robots present in your own home, programmers were replaced by computers that feed themselves lines of code. Every essential worker has been replaced by robots. + + Ricardo is shocked. He could have never seen such a significant development since he was still in the 17th century when he decided to go on this adventure. Also, do you remember Robocop? That's a real thing in 2090, although people don't trust the security of these armed droids, and don't trust the people behind the making of it. It is a strange feeling; Ricardo stands here in the distant future where things he can only dream about exist. Now he could choose to [stay] here in this amazing new world or [return] to his original time in order to be with his family. Maybe Ricardo could even do [both], stay in the future for a while then return afterwards""") + + choice=input("Enter choice by typing the word in square brackets (each chioce shall lead to a diferent ending)") + + if choice== "stay": + next=True + print("After thinking long and hard about the decision Ricardo decided to start a brand new life in Japan. He had manged to get a simple job of doing maintenance on robots. It was surprisingly easy for him to get the job as the only thing he had to do was ask each robot a series of questions. Now he is living a good life with new technology and money, the only thing missing is that there is nothing to fill the void in his heart where his family would be.") + + elif choice== "return": + next=True + print("Without hesitation Ricardo returns home, to his amazement it seems no time has passed since his departure. Thanks to this he does not need to explain what happened if it had even happened at all.") + + elif choice== "both": + next=True + print("He decided to first gain some money and knowledge in Japan. This not only allows Ricardo to be able to use this back in the present it will also make him the smartest in his time period. Finally, after several months, he decides to go back to his home and check how things were over there. When he got to his island, everything was the same, except his family wasn't there.") + + else: + print("Please ensure the exact word is used(including case)") +print("""Thank you for playing + +___THE END___""") + + From 8488c0fc0aa946c1903fe8f0f9da16112a5eb919 Mon Sep 17 00:00:00 2001 From: Joel Utoware Date: Fri, 2 Oct 2020 09:52:44 +0100 Subject: [PATCH 04/15] , --- StoryD7.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StoryD7.py b/StoryD7.py index b93bd90..8a03034 100644 --- a/StoryD7.py +++ b/StoryD7.py @@ -10,7 +10,7 @@ while next==False: He starts to create his technology and try to improve the time machine so he can go wherever he wants and the time he wants. [twenty] years have passed...""") #main paragraph - choice=input("Enter choice by typing the word in square brackets") + choice=input("\nEnter choice by typing the word in square brackets") #allows user to input choices if choice=="first": print("""He can become a famous scientist and gain the trust of researchers to get plutonium. From 3cb7549f898d070632fe9c768ab3e027db28d50e Mon Sep 17 00:00:00 2001 From: Joel Utoware Date: Fri, 2 Oct 2020 10:05:12 +0100 Subject: [PATCH 05/15] done --- StoryD7.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/StoryD7.py b/StoryD7.py index 8a03034..20cd017 100644 --- a/StoryD7.py +++ b/StoryD7.py @@ -2,7 +2,7 @@ next=False while next==False: #ensures the correct option leads to the next section print(""" - After he uses the time machine for the second time, + \nAfter he uses the time machine for the second time, he arrives in New York in the 21st century. He saw so many things different, at the start he was excited because it was everything new and they have so many things to learn. In the 21st century, the technology is massive they have self-driving cars, pervasive smartphones, hoverboards, household robots that clean, cook and practically can do everything and he wants to learn how things do what they do. He was a little bit lost at the beginning, but he was willing to learn everything, so he starts working at a bar to learn their language and their costumes. One year later he starts to learn more about the technology around him and he starts to understand how machines do what they do. He reaches a point when he is working at a big technology company in New York, he bought a new house a good car but he was not satisfied. It felt like something was missing but he doesn’t know why... Maybe he already learnd everything he wanted at the 21st century. When Ricardo realized that a time travel with the time machine requires a real variety of resources he noticed that the several travells he made had already drained its batteries and it needs recharging, but plutonium (the main source of energy) is not so easy to find in the present period. After some thinking Ricardo came up with two ideas for completing his plan to travel in time and space. While the [first] idea he had was great and would probably worked well he chose the [second] idea @@ -13,17 +13,17 @@ while next==False: choice=input("\nEnter choice by typing the word in square brackets") #allows user to input choices if choice=="first": - print("""He can become a famous scientist and gain the trust of researchers to get plutonium. + print("""\nHe can become a famous scientist and gain the trust of researchers to get plutonium. -Returning to previous page-""") elif choice=="second": - print("""He can continue to develop the project and modify the time machine and further steal the plutonium. + print("""\nHe can continue to develop the project and modify the time machine and further steal the plutonium. -Returning to previous page-""") elif choice=="twenty": next=True - print("""He still hasn’t found a way to fix the machine, he travels to Tokyo to meet a friend who can try to help him, when he arrives in Tokyo he saw that technology was superior to new York and he thought “how will Tokyo be in 2090?”. + print("""\nHe still hasn’t found a way to fix the machine, he travels to Tokyo to meet a friend who can try to help him, when he arrives in Tokyo he saw that technology was superior to new York and he thought “how will Tokyo be in 2090?”. Five years later he finds a way to fix the time machine and he started preparing to travel to Tokyo 2090. @@ -31,35 +31,35 @@ while next==False: He decided to take in the views of the city whilst he was there""") else: - print("Please ensure the exact word is used(including case)") + print("\nPlease ensure the exact word is used(including case)") #makes sure choice is valid - +###----ENDING----### next=False while next==False: - print("""Japan had changed so much since the start of the 21st century. + print("""\nJapan had changed so much since the start of the 21st century. Japan is now fully autonomous. There is no need to work anymore. Doctors have been replaced by medical robots present in your own home, programmers were replaced by computers that feed themselves lines of code. Every essential worker has been replaced by robots. Ricardo is shocked. He could have never seen such a significant development since he was still in the 17th century when he decided to go on this adventure. Also, do you remember Robocop? That's a real thing in 2090, although people don't trust the security of these armed droids, and don't trust the people behind the making of it. It is a strange feeling; Ricardo stands here in the distant future where things he can only dream about exist. Now he could choose to [stay] here in this amazing new world or [return] to his original time in order to be with his family. Maybe Ricardo could even do [both], stay in the future for a while then return afterwards""") - choice=input("Enter choice by typing the word in square brackets (each chioce shall lead to a diferent ending)") + choice=input("\nEnter choice by typing the word in square brackets (each chioce shall lead to a diferent ending)") if choice== "stay": next=True - print("After thinking long and hard about the decision Ricardo decided to start a brand new life in Japan. He had manged to get a simple job of doing maintenance on robots. It was surprisingly easy for him to get the job as the only thing he had to do was ask each robot a series of questions. Now he is living a good life with new technology and money, the only thing missing is that there is nothing to fill the void in his heart where his family would be.") + print("\nAfter thinking long and hard about the decision Ricardo decided to start a brand new life in Japan. He had manged to get a simple job of doing maintenance on robots. It was surprisingly easy for him to get the job as the only thing he had to do was ask each robot a series of questions. Now he is living a good life with new technology and money, the only thing missing is that there is nothing to fill the void in his heart where his family would be.") elif choice== "return": next=True - print("Without hesitation Ricardo returns home, to his amazement it seems no time has passed since his departure. Thanks to this he does not need to explain what happened if it had even happened at all.") + print("\nWithout hesitation Ricardo returns home, to his amazement it seems no time has passed since his departure. Thanks to this he does not need to explain what happened if it had even happened at all.") elif choice== "both": next=True - print("He decided to first gain some money and knowledge in Japan. This not only allows Ricardo to be able to use this back in the present it will also make him the smartest in his time period. Finally, after several months, he decides to go back to his home and check how things were over there. When he got to his island, everything was the same, except his family wasn't there.") + print("\nHe decided to first gain some money and knowledge in Japan. This not only allows Ricardo to be able to use this back in the present it will also make him the smartest in his time period. Finally, after several months, he decides to go back to his home and check how things were over there. When he got to his island, everything was the same, except his family wasn't there.") else: - print("Please ensure the exact word is used(including case)") -print("""Thank you for playing + print("\nPlease ensure the exact word is used(including case)") +print("""\nThank you for playing ___THE END___""") From 3e86a0597cfc6175a83ab5da7638bf5a7279b14d Mon Sep 17 00:00:00 2001 From: Joel Utoware Date: Fri, 2 Oct 2020 10:27:46 +0100 Subject: [PATCH 06/15] . --- StoryD7.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/StoryD7.py b/StoryD7.py index 20cd017..35539cc 100644 --- a/StoryD7.py +++ b/StoryD7.py @@ -5,23 +5,23 @@ while next==False: \nAfter he uses the time machine for the second time, he arrives in New York in the 21st century. He saw so many things different, at the start he was excited because it was everything new and they have so many things to learn. In the 21st century, the technology is massive they have self-driving cars, pervasive smartphones, hoverboards, household robots that clean, cook and practically can do everything and he wants to learn how things do what they do. He was a little bit lost at the beginning, but he was willing to learn everything, so he starts working at a bar to learn their language and their costumes. One year later he starts to learn more about the technology around him and he starts to understand how machines do what they do. He reaches a point when he is working at a big technology company in New York, he bought a new house a good car but he was not satisfied. It felt like something was missing but he doesn’t know why... Maybe he already learnd everything he wanted at the 21st century. - When Ricardo realized that a time travel with the time machine requires a real variety of resources he noticed that the several travells he made had already drained its batteries and it needs recharging, but plutonium (the main source of energy) is not so easy to find in the present period. After some thinking Ricardo came up with two ideas for completing his plan to travel in time and space. While the [first] idea he had was great and would probably worked well he chose the [second] idea + When Ricardo realized that a time travel with the time machine requires a real variety of resources he noticed that the several travells he made had already drained its batteries and it needs recharging, but plutonium (the main source of energy) is not so easy to find in the present period. After some thinking Ricardo came up with two ideas for completing his plan to travel in time and space. While the [1]first idea he had was great and would probably worked well he chose the [2]second idea - He starts to create his technology and try to improve the time machine so he can go wherever he wants and the time he wants. [twenty] years have passed...""") + He starts to create his technology and try to improve the time machine so he can go wherever he wants and the time he wants. [3]twenty years have passed...""") #main paragraph - choice=input("\nEnter choice by typing the word in square brackets") + choice=int(input("\nEnter choice by typing the number in square brackets")) #allows user to input choices - if choice=="first": + if choice==1: print("""\nHe can become a famous scientist and gain the trust of researchers to get plutonium. -Returning to previous page-""") - elif choice=="second": + elif choice==2: print("""\nHe can continue to develop the project and modify the time machine and further steal the plutonium. -Returning to previous page-""") - elif choice=="twenty": + elif choice==3: next=True print("""\nHe still hasn’t found a way to fix the machine, he travels to Tokyo to meet a friend who can try to help him, when he arrives in Tokyo he saw that technology was superior to new York and he thought “how will Tokyo be in 2090?”. @@ -31,7 +31,7 @@ while next==False: He decided to take in the views of the city whilst he was there""") else: - print("\nPlease ensure the exact word is used(including case)") + print("\nPlease ensure that a valid number is entered ") #makes sure choice is valid ###----ENDING----### next=False @@ -41,24 +41,24 @@ while next==False: Japan is now fully autonomous. There is no need to work anymore. Doctors have been replaced by medical robots present in your own home, programmers were replaced by computers that feed themselves lines of code. Every essential worker has been replaced by robots. - Ricardo is shocked. He could have never seen such a significant development since he was still in the 17th century when he decided to go on this adventure. Also, do you remember Robocop? That's a real thing in 2090, although people don't trust the security of these armed droids, and don't trust the people behind the making of it. It is a strange feeling; Ricardo stands here in the distant future where things he can only dream about exist. Now he could choose to [stay] here in this amazing new world or [return] to his original time in order to be with his family. Maybe Ricardo could even do [both], stay in the future for a while then return afterwards""") + Ricardo is shocked. He could have never seen such a significant development since he was still in the 17th century when he decided to go on this adventure. Also, do you remember Robocop? That's a real thing in 2090, although people don't trust the security of these armed droids, and don't trust the people behind the making of it. It is a strange feeling; Ricardo stands here in the distant future where things he can only dream about exist. Now he could choose to [1]stay here in this amazing new world or [2]return to his original time in order to be with his family. Maybe Ricardo could even do [3]both, stay in the future for a while then return afterwards""") - choice=input("\nEnter choice by typing the word in square brackets (each chioce shall lead to a diferent ending)") + choice=int(input("\nEnter choice by typi2ng the number in square brackets (each chioce shall lead to a diferent ending)")) - if choice== "stay": + if choice== 1: next=True print("\nAfter thinking long and hard about the decision Ricardo decided to start a brand new life in Japan. He had manged to get a simple job of doing maintenance on robots. It was surprisingly easy for him to get the job as the only thing he had to do was ask each robot a series of questions. Now he is living a good life with new technology and money, the only thing missing is that there is nothing to fill the void in his heart where his family would be.") - elif choice== "return": + elif choice== 2: next=True print("\nWithout hesitation Ricardo returns home, to his amazement it seems no time has passed since his departure. Thanks to this he does not need to explain what happened if it had even happened at all.") - elif choice== "both": + elif choice== 3: next=True print("\nHe decided to first gain some money and knowledge in Japan. This not only allows Ricardo to be able to use this back in the present it will also make him the smartest in his time period. Finally, after several months, he decides to go back to his home and check how things were over there. When he got to his island, everything was the same, except his family wasn't there.") else: - print("\nPlease ensure the exact word is used(including case)") + print("\nPlease ensure that a valid number is entered ") print("""\nThank you for playing ___THE END___""") From 40cf3d96ffa4c4f0a06d854dfe6b52493cefdee3 Mon Sep 17 00:00:00 2001 From: "Joel Utoware (utowarej)" Date: Fri, 2 Oct 2020 10:30:37 +0100 Subject: [PATCH 07/15] Update StoryD7.py --- StoryD7.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/StoryD7.py b/StoryD7.py index 35539cc..a6b2dd7 100644 --- a/StoryD7.py +++ b/StoryD7.py @@ -3,11 +3,11 @@ while next==False: #ensures the correct option leads to the next section print(""" \nAfter he uses the time machine for the second time, - he arrives in New York in the 21st century. He saw so many things different, at the start he was excited because it was everything new and they have so many things to learn. In the 21st century, the technology is massive they have self-driving cars, pervasive smartphones, hoverboards, household robots that clean, cook and practically can do everything and he wants to learn how things do what they do. He was a little bit lost at the beginning, but he was willing to learn everything, so he starts working at a bar to learn their language and their costumes. One year later he starts to learn more about the technology around him and he starts to understand how machines do what they do. He reaches a point when he is working at a big technology company in New York, he bought a new house a good car but he was not satisfied. It felt like something was missing but he doesn’t know why... Maybe he already learnd everything he wanted at the 21st century. +he arrives in New York in the 21st century. He saw so many things different, at the start he was excited because it was everything new and they have so many things to learn. In the 21st century, the technology is massive they have self-driving cars, pervasive smartphones, hoverboards, household robots that clean, cook and practically can do everything and he wants to learn how things do what they do. He was a little bit lost at the beginning, but he was willing to learn everything, so he starts working at a bar to learn their language and their costumes. One year later he starts to learn more about the technology around him and he starts to understand how machines do what they do. He reaches a point when he is working at a big technology company in New York, he bought a new house a good car but he was not satisfied. It felt like something was missing but he doesn’t know why... Maybe he already learnd everything he wanted at the 21st century. - When Ricardo realized that a time travel with the time machine requires a real variety of resources he noticed that the several travells he made had already drained its batteries and it needs recharging, but plutonium (the main source of energy) is not so easy to find in the present period. After some thinking Ricardo came up with two ideas for completing his plan to travel in time and space. While the [1]first idea he had was great and would probably worked well he chose the [2]second idea +When Ricardo realized that a time travel with the time machine requires a real variety of resources he noticed that the several travells he made had already drained its batteries and it needs recharging, but plutonium (the main source of energy) is not so easy to find in the present period. After some thinking Ricardo came up with two ideas for completing his plan to travel in time and space. While the [1]first idea he had was great and would probably worked well he chose the [2]second idea - He starts to create his technology and try to improve the time machine so he can go wherever he wants and the time he wants. [3]twenty years have passed...""") +He starts to create his technology and try to improve the time machine so he can go wherever he wants and the time he wants. [3]twenty years have passed...""") #main paragraph choice=int(input("\nEnter choice by typing the number in square brackets")) @@ -25,11 +25,11 @@ while next==False: next=True print("""\nHe still hasn’t found a way to fix the machine, he travels to Tokyo to meet a friend who can try to help him, when he arrives in Tokyo he saw that technology was superior to new York and he thought “how will Tokyo be in 2090?”. - Five years later he finds a way to fix the time machine and he started preparing to travel to Tokyo 2090. +Five years later he finds a way to fix the time machine and he started preparing to travel to Tokyo 2090. - Ricardo landed in Tokyo, 2090. From being a technological powerhouse at the start of the 21st century, Tokyo is now the largest and most dominant capital globally, thanks to their investment in the science area. Everything is very accessible and developed, both economically and infrastructurally. From the road markings to the gigantic billboards present in every uber, the streets are full of LEDs everywhere, even more than before! Some people dislike it and say it's ugly and visual pollution, while others love it and find it fascinating. +Ricardo landed in Tokyo, 2090. From being a technological powerhouse at the start of the 21st century, Tokyo is now the largest and most dominant capital globally, thanks to their investment in the science area. Everything is very accessible and developed, both economically and infrastructurally. From the road markings to the gigantic billboards present in every uber, the streets are full of LEDs everywhere, even more than before! Some people dislike it and say it's ugly and visual pollution, while others love it and find it fascinating. - He decided to take in the views of the city whilst he was there""") +He decided to take in the views of the city whilst he was there""") else: print("\nPlease ensure that a valid number is entered ") #makes sure choice is valid @@ -39,9 +39,9 @@ while next==False: print("""\nJapan had changed so much since the start of the 21st century. - Japan is now fully autonomous. There is no need to work anymore. Doctors have been replaced by medical robots present in your own home, programmers were replaced by computers that feed themselves lines of code. Every essential worker has been replaced by robots. +Japan is now fully autonomous. There is no need to work anymore. Doctors have been replaced by medical robots present in your own home, programmers were replaced by computers that feed themselves lines of code. Every essential worker has been replaced by robots. - Ricardo is shocked. He could have never seen such a significant development since he was still in the 17th century when he decided to go on this adventure. Also, do you remember Robocop? That's a real thing in 2090, although people don't trust the security of these armed droids, and don't trust the people behind the making of it. It is a strange feeling; Ricardo stands here in the distant future where things he can only dream about exist. Now he could choose to [1]stay here in this amazing new world or [2]return to his original time in order to be with his family. Maybe Ricardo could even do [3]both, stay in the future for a while then return afterwards""") +Ricardo is shocked. He could have never seen such a significant development since he was still in the 17th century when he decided to go on this adventure. Also, do you remember Robocop? That's a real thing in 2090, although people don't trust the security of these armed droids, and don't trust the people behind the making of it. It is a strange feeling; Ricardo stands here in the distant future where things he can only dream about exist. Now he could choose to [1]stay here in this amazing new world or [2]return to his original time in order to be with his family. Maybe Ricardo could even do [3]both, stay in the future for a while then return afterwards""") choice=int(input("\nEnter choice by typi2ng the number in square brackets (each chioce shall lead to a diferent ending)")) From 2d6c2e23c90d5e4745e91d22385706cf542f73ca Mon Sep 17 00:00:00 2001 From: Joel Utoware Date: Fri, 2 Oct 2020 10:35:08 +0100 Subject: [PATCH 08/15] . --- StoryD7.py | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/StoryD7.py b/StoryD7.py index a6b2dd7..071a26b 100644 --- a/StoryD7.py +++ b/StoryD7.py @@ -3,11 +3,11 @@ while next==False: #ensures the correct option leads to the next section print(""" \nAfter he uses the time machine for the second time, -he arrives in New York in the 21st century. He saw so many things different, at the start he was excited because it was everything new and they have so many things to learn. In the 21st century, the technology is massive they have self-driving cars, pervasive smartphones, hoverboards, household robots that clean, cook and practically can do everything and he wants to learn how things do what they do. He was a little bit lost at the beginning, but he was willing to learn everything, so he starts working at a bar to learn their language and their costumes. One year later he starts to learn more about the technology around him and he starts to understand how machines do what they do. He reaches a point when he is working at a big technology company in New York, he bought a new house a good car but he was not satisfied. It felt like something was missing but he doesn’t know why... Maybe he already learnd everything he wanted at the 21st century. + he arrives in New York in the 21st century. He saw so many things different, at the start he was excited because it was everything new and they have so many things to learn. In the 21st century, the technology is massive they have self-driving cars, pervasive smartphones, hoverboards, household robots that clean, cook and practically can do everything and he wants to learn how things do what they do. He was a little bit lost at the beginning, but he was willing to learn everything, so he starts working at a bar to learn their language and their costumes. One year later he starts to learn more about the technology around him and he starts to understand how machines do what they do. He reaches a point when he is working at a big technology company in New York, he bought a new house a good car but he was not satisfied. It felt like something was missing but he doesn’t know why... Maybe he already learnd everything he wanted at the 21st century. -When Ricardo realized that a time travel with the time machine requires a real variety of resources he noticed that the several travells he made had already drained its batteries and it needs recharging, but plutonium (the main source of energy) is not so easy to find in the present period. After some thinking Ricardo came up with two ideas for completing his plan to travel in time and space. While the [1]first idea he had was great and would probably worked well he chose the [2]second idea + When Ricardo realized that a time travel with the time machine requires a real variety of resources he noticed that the several travells he made had already drained its batteries and it needs recharging, but plutonium (the main source of energy) is not so easy to find in the present period. After some thinking Ricardo came up with two ideas for completing his plan to travel in time and space. While the [1]first idea he had was great and would probably worked well he chose the [2]second idea -He starts to create his technology and try to improve the time machine so he can go wherever he wants and the time he wants. [3]twenty years have passed...""") + He starts to create his technology and try to improve the time machine so he can go wherever he wants and the time he wants. [3]twenty years have passed...""") #main paragraph choice=int(input("\nEnter choice by typing the number in square brackets")) @@ -23,13 +23,7 @@ He starts to create his technology and try to improve the time machine so he can elif choice==3: next=True - print("""\nHe still hasn’t found a way to fix the machine, he travels to Tokyo to meet a friend who can try to help him, when he arrives in Tokyo he saw that technology was superior to new York and he thought “how will Tokyo be in 2090?”. - -Five years later he finds a way to fix the time machine and he started preparing to travel to Tokyo 2090. - -Ricardo landed in Tokyo, 2090. From being a technological powerhouse at the start of the 21st century, Tokyo is now the largest and most dominant capital globally, thanks to their investment in the science area. Everything is very accessible and developed, both economically and infrastructurally. From the road markings to the gigantic billboards present in every uber, the streets are full of LEDs everywhere, even more than before! Some people dislike it and say it's ugly and visual pollution, while others love it and find it fascinating. - -He decided to take in the views of the city whilst he was there""") + print("""\nHe still hasn’t found a way to fix the machine, he travels to Tokyo to meet a friend who can try to help him, when he arrives in Tokyo he saw that technology was superior to new York and he thought “how will Tokyo be in 2090?”.\nFive years later he finds a way to fix the time machine and he started preparing to travel to Tokyo 2090.\nRicardo landed in Tokyo, 2090. From being a technological powerhouse at the start of the 21st century, Tokyo is now the largest and most dominant capital globally, thanks to their investment in the science area. Everything is very accessible and developed, both economically and infrastructurally. From the road markings to the gigantic billboards present in every uber, the streets are full of LEDs everywhere, even more than before! Some people dislike it and say it's ugly and visual pollution, while others love it and find it fascinating.\nHe decided to take in the views of the city whilst he was there""") else: print("\nPlease ensure that a valid number is entered ") #makes sure choice is valid @@ -37,11 +31,7 @@ He decided to take in the views of the city whilst he was there""") next=False while next==False: - print("""\nJapan had changed so much since the start of the 21st century. - -Japan is now fully autonomous. There is no need to work anymore. Doctors have been replaced by medical robots present in your own home, programmers were replaced by computers that feed themselves lines of code. Every essential worker has been replaced by robots. - -Ricardo is shocked. He could have never seen such a significant development since he was still in the 17th century when he decided to go on this adventure. Also, do you remember Robocop? That's a real thing in 2090, although people don't trust the security of these armed droids, and don't trust the people behind the making of it. It is a strange feeling; Ricardo stands here in the distant future where things he can only dream about exist. Now he could choose to [1]stay here in this amazing new world or [2]return to his original time in order to be with his family. Maybe Ricardo could even do [3]both, stay in the future for a while then return afterwards""") + print("\nJapan had changed so much since the start of the 21st century.\nJapan is now fully autonomous. There is no need to work anymore. Doctors have been replaced by medical robots present in your own home, programmers were replaced by computers that feed themselves lines of code. Every essential worker has been replaced by robots.\nRicardo is shocked. He could have never seen such a significant development since he was still in the 17th century when he decided to go on this adventure. Also, do you remember Robocop? That's a real thing in 2090, although people don't trust the security of these armed droids, and don't trust the people behind the making of it. It is a strange feeling; Ricardo stands here in the distant future where things he can only dream about exist. Now he could choose to [1]stay here in this amazing new world or [2]return to his original time in order to be with his family. Maybe Ricardo could even do [3]both, stay in the future for a while then return afterwards) choice=int(input("\nEnter choice by typi2ng the number in square brackets (each chioce shall lead to a diferent ending)")) From e47b1c923251e3c057473379acc748873d125fdf Mon Sep 17 00:00:00 2001 From: Joel Utoware Date: Fri, 2 Oct 2020 10:47:51 +0100 Subject: [PATCH 09/15] .. --- StoryD7.py | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/StoryD7.py b/StoryD7.py index 071a26b..dd7420c 100644 --- a/StoryD7.py +++ b/StoryD7.py @@ -1,13 +1,7 @@ next=False while next==False: #ensures the correct option leads to the next section - print(""" - \nAfter he uses the time machine for the second time, - he arrives in New York in the 21st century. He saw so many things different, at the start he was excited because it was everything new and they have so many things to learn. In the 21st century, the technology is massive they have self-driving cars, pervasive smartphones, hoverboards, household robots that clean, cook and practically can do everything and he wants to learn how things do what they do. He was a little bit lost at the beginning, but he was willing to learn everything, so he starts working at a bar to learn their language and their costumes. One year later he starts to learn more about the technology around him and he starts to understand how machines do what they do. He reaches a point when he is working at a big technology company in New York, he bought a new house a good car but he was not satisfied. It felt like something was missing but he doesn’t know why... Maybe he already learnd everything he wanted at the 21st century. - - When Ricardo realized that a time travel with the time machine requires a real variety of resources he noticed that the several travells he made had already drained its batteries and it needs recharging, but plutonium (the main source of energy) is not so easy to find in the present period. After some thinking Ricardo came up with two ideas for completing his plan to travel in time and space. While the [1]first idea he had was great and would probably worked well he chose the [2]second idea - - He starts to create his technology and try to improve the time machine so he can go wherever he wants and the time he wants. [3]twenty years have passed...""") + print("""\nAfter he uses the time machine for the second time,he arrives in New York in the 21st century. He saw so many things different, at the start he was excited because it was everything new and they have so many things to learn. In the 21st century, the technology is massive they have self-driving cars, pervasive smartphones, hoverboards, household robots that clean, cook and practically can do everything and he wants to learn how things do what they do. He was a little bit lost at the beginning, but he was willing to learn everything, so he starts working at a bar to learn their language and their costumes. One year later he starts to learn more about the technology around him and he starts to understand how machines do what they do. He reaches a point when he is working at a big technology company in New York, he bought a new house a good car but he was not satisfied. It felt like something was missing but he doesn’t know why... Maybe he already learnd everything he wanted at the 21st century.\n\nWhen Ricardo realized that a time travel with the time machine requires a real variety of resources he noticed that the several travells he made had already drained its batteries and it needs recharging, but plutonium (the main source of energy) is not so easy to find in the present period. After some thinking Ricardo came up with two ideas for completing his plan to travel in time and space. While the [1]first idea he had was great and would probably worked well he chose the [2]second idea.\n\nHe starts to create his technology and try to improve the time machine so he can go wherever he wants and the time he wants. [3]twenty years have passed...""") #main paragraph choice=int(input("\nEnter choice by typing the number in square brackets")) @@ -23,17 +17,17 @@ while next==False: elif choice==3: next=True - print("""\nHe still hasn’t found a way to fix the machine, he travels to Tokyo to meet a friend who can try to help him, when he arrives in Tokyo he saw that technology was superior to new York and he thought “how will Tokyo be in 2090?”.\nFive years later he finds a way to fix the time machine and he started preparing to travel to Tokyo 2090.\nRicardo landed in Tokyo, 2090. From being a technological powerhouse at the start of the 21st century, Tokyo is now the largest and most dominant capital globally, thanks to their investment in the science area. Everything is very accessible and developed, both economically and infrastructurally. From the road markings to the gigantic billboards present in every uber, the streets are full of LEDs everywhere, even more than before! Some people dislike it and say it's ugly and visual pollution, while others love it and find it fascinating.\nHe decided to take in the views of the city whilst he was there""") + print("""\nHe still hasn’t found a way to fix the machine, he travels to Tokyo to meet a friend who can try to help him, when he arrives in Tokyo he saw that technology was superior to new York and he thought “how will Tokyo be in 2090?”.\n\nFive years later he finds a way to fix the time machine and he started preparing to travel to Tokyo 2090.\n\nRicardo landed in Tokyo, 2090. From being a technological powerhouse at the start of the 21st century, Tokyo is now the largest and most dominant capital globally, thanks to their investment in the science area. Everything is very accessible and developed, both economically and infrastructurally. From the road markings to the gigantic billboards present in every uber, the streets are full of LEDs everywhere, even more than before! Some people dislike it and say it's ugly and visual pollution, while others love it and find it fascinating.\n\nHe decided to take in the views of the city whilst he was there""") else: - print("\nPlease ensure that a valid number is entered ") + print("\nPlease ensure the exact word is used(including case)") #makes sure choice is valid ###----ENDING----### next=False while next==False: - print("\nJapan had changed so much since the start of the 21st century.\nJapan is now fully autonomous. There is no need to work anymore. Doctors have been replaced by medical robots present in your own home, programmers were replaced by computers that feed themselves lines of code. Every essential worker has been replaced by robots.\nRicardo is shocked. He could have never seen such a significant development since he was still in the 17th century when he decided to go on this adventure. Also, do you remember Robocop? That's a real thing in 2090, although people don't trust the security of these armed droids, and don't trust the people behind the making of it. It is a strange feeling; Ricardo stands here in the distant future where things he can only dream about exist. Now he could choose to [1]stay here in this amazing new world or [2]return to his original time in order to be with his family. Maybe Ricardo could even do [3]both, stay in the future for a while then return afterwards) + print("""\nJapan had changed so much since the start of the 21st century.\nJapan is now fully autonomous. There is no need to work anymore. Doctors have been replaced by medical robots present in your own home, programmers were replaced by computers that feed themselves lines of code. Every essential worker has been replaced by robots.\nRicardo is shocked. He could have never seen such a significant development since he was still in the 17th century when he decided to go on this adventure. Also, do you remember Robocop? That's a real thing in 2090, although people don't trust the security of these armed droids, and don't trust the people behind the making of it. It is a strange feeling; Ricardo stands here in the distant future where things he can only dream about exist. Now he could choose to [1]stay here in this amazing new world or [2]return to his original time in order to be with his family. Maybe Ricardo could even do [3]both, stay in the future for a while then return afterwards""") - choice=int(input("\nEnter choice by typi2ng the number in square brackets (each chioce shall lead to a diferent ending)")) + choice=int(input("\nEnter choice by typing the number in square brackets (each chioce shall lead to a diferent ending)")) if choice== 1: next=True @@ -48,7 +42,7 @@ while next==False: print("\nHe decided to first gain some money and knowledge in Japan. This not only allows Ricardo to be able to use this back in the present it will also make him the smartest in his time period. Finally, after several months, he decides to go back to his home and check how things were over there. When he got to his island, everything was the same, except his family wasn't there.") else: - print("\nPlease ensure that a valid number is entered ") + print("\nPlease ensure that a valid number is entered exact word is used(including case)") print("""\nThank you for playing ___THE END___""") From 0708a39e2d2c0e3858d78ad985a0b4fe9f0d424e Mon Sep 17 00:00:00 2001 From: "Joel Utoware (utowarej)" Date: Fri, 9 Oct 2020 09:05:03 +0100 Subject: [PATCH 10/15] Update StoryD7.py --- StoryD7.py | 169 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 164 insertions(+), 5 deletions(-) diff --git a/StoryD7.py b/StoryD7.py index dd7420c..8c268db 100644 --- a/StoryD7.py +++ b/StoryD7.py @@ -1,3 +1,128 @@ +def dansStory(): + listOfYes =["Yes", "yes", "Yes please", "yes please", "Yeah", "yeah"] + playerName = input("Hello, what is your name? ") + Ans1 = input("Welcome " + playerName + " would you like to take take part in our story? ") + if Ans1 in listOfYes: + print("Thank you, enjoy!") + else: + print("Sorry to hear that, goodbye") + exit() + print("In the seventh century, in a distant place from popular civilization there was a man named Ricardo.") + Ans2 = input("Would you like to know more about Ricardo? ") + if Ans2 in listOfYes: + print("") + print("Ricardo was a very respectful man for his kindness with other people and his authority when something was getting serious. He was a family man with 3 little brothers and would never do something that would hurt them.") + print("Continuing the story...") + + else: + print("Continuing the story...") + print("He was the leader of a small island that was surrounded by others in a big ocean basin") + print("Having the same routines day after day he was getting tired of it so he decided to challenge himself and leave the island to make a new discovery") + print("Something new that nobody had discovered before") + print("He had two directions to go to. It was a decision between North and South") + print("") + Ans3 = input("Would you like to know more about the 2 routes ahead? ") + if Ans3 in listOfYes: + Ans4 = input(" Please select an option on what you wish to know about: 1) North, 2) South, 3) North and South ") + if Ans4 == "1": + print("") + print("North wasn´t the easiest path for him but it wasn't impossible either.") + print("This wasy he was sure he would face difficulties and his brothers would have to deal with a lot more difficulties. It would be more adventurous and challenging.") + print("Continuing the story...") + elif Ans4 == "2": + print("") + print("South was a bit easier but it had some difficulties coming with it as well.") + print("It wasn´t going to be as simple as living his normal day to day life but some stories he had heard and maps made by previous attempts would help him a lot having a safer trip.") + print("Continuing the story...") + elif Ans4 == "3": + print("") + print("North wasn´t the easiest path for him but it wasn't impossible either.") + print("This wasy he was sure he would face difficulties and his brothers would have to deal with a lot more difficulties. It would be more adventurous and challenging.") + print("South was a bit easier but it had some difficulties coming with it as well.") + print("It wasn´t going to be as simple as living his normal day to day life but some stories he had heard and maps made by previous attempts would help him a lot having a safer trip.") + print("Continuing the story...") + else: + print("Continuing the story...") + else: + print("Continuing the story...") + print("") + print("He took his time, thought about it and one day he finally decided to go ") + print("1) Calm and easy (South)" + " or " + "2) Adventurous and hard (North)") + Ans5 = input("So what path do you choose? ") + print("and talk to his wife Ana...") + if Ans5 == "1": + print("") + print("Ana, I know you don't like me leaving and going on adventures but I gave a lot of thought into it and I know I am able to do this and bring something home that would make you proud. I´ll be leaving next week and my brothers will come with me... We'll be going to South" + "South? I don't know what do you expect to discover Ricardo, I hope you're sure about this..." + "I believe that there is something on this planet that no one found yet and with this journey I would be able to go down is history over the years. Please trust me Ana!" + "Ok, my dear, take care of yourself and your brothers and may God be with you.") + elif Ans5 == "2": + print("") + print("Ana, I know you don't like me leaving and going on adventures but I gave a lot of thought into it and I know I am able to do this and bring something home that would make you proud. I´ll be leaving next week and my brothers will come with me... We'll be going to North" + "North? I don't know what do you expect to discover Ricardo, I hope you're sure about this..." + "I believe that there is something on this planet that no one found yet and with this journey I would be able to go down is history over the years. Please trust me Ana!" + "Ok, my dear, take care of yourself and your brothers and may God be with you.") + else: + print("Continuing the story...") + print("") + print("After the talk...") + print("He ordered the workers of the island to build in a working week a boat that could carry at most four people and some supplies for the trip.") + print("After the boat was finished, they started the journey of their lifetime which they expected to be the best one. In the middle of the ocean,") + print("when it was getting dark, a storm was coming towards them.") + print("") + print("My fellow brothers don't panic! Everything will be fine! Paul turn the sail to the left!") + print("But Ricardo, we don't stand a chance of what's coming! This will be messed up in many ways.") + print("") + print("Eventually, the storm appeared over them and the boat was collapsing due to strong waves of the ocean.") + print("At that moment he could see his brothers struggling but he felt helpless... He had a difficult choice to make.") + Ans6 = input("Are you going to 'risk your life to save your brother', or 'stay where you are and keep holding onto safety'") + print("") + print("After the decision...") +dansStory() + +# gigs starts + +import story +import os +import msvcrt as m +# the logic for the sotry... + +# help function to display more informating about links in the story + +# get user input + +# clear the screen +def clear(): + print('\nPress enter to continue') + m.getch() + os.system('cls') + + +# main +def main(): + print(story.chairStory) + print(story.context) + selectContect = (input('Please select A,B,C,D...')) + if selectContect == 'a': + print(story.screen) + elif selectContect == 'b': + print(story.timeTravel) + elif selectContect == 'c': + print(story.sept) + else: + pass + clear() + print(story.decision) + a = int(input('Please select 1 or 2...')) + if a == 1: + print(story.leave) + elif a == 2: + print(story.back) + print(story.decision2) + print(story.con) +main() + +# joel next=False while next==False: #ensures the correct option leads to the next section @@ -21,7 +146,45 @@ while next==False: else: print("\nPlease ensure the exact word is used(including case)") #makes sure choice is valid -###----ENDING----### + + + + #mateuszs code + # Put story into here +#Mateusz code +def views(): + places = ['palace[1]','science museum[2]','art museum[3]','temple[4]','park[5]'] + while len(places) != 0: + print('\nThere are so many sights and scenery in Tokyo so theres so much to see and do.') + print('\nplease choose a number') + print('\n%s' % places) + go_to = input('\ngo to: ') + if go_to == '1': + print('\nThe Imperial Palace was his best bet to see what had changed. Crossing the Seimon Ishibashi bridge, he found the Emperor of Japan welcoming guests into his hall. There must’ve been a party; why not go and relax after all the hard work?') + proceed = input('\ngo and relax at the party[1], Go see more sights[2] ') + print(proceed) + if proceed == '1' and 'palace[1]' in places : + print('\nRicardo went inside and saw the beautiful golden interior. It must’ve been redesigned – robots raced across the floors to deliver food to esteemed guests, dragons would fly across the room and refill glasses and cup. It was fascinating.') + places.remove('palace[1]') + elif go_to == '2' and 'science museum[2]' in places: + print('\nHe decided to visit the National Museum of Nature and Science and compare his notes to the historian’s views on the ancient world. There were hundreds of artifacts and trinkets and so far, the historians and had got most of it bang on.') + places.remove('science museum[2]') + elif go_to == '3' and 'art museum[3]' in places: + print('\nThe National Museum of Western Art was going to be very weird and wonderful. Comparing 1950s New York to the items on display in this museum would be fun to see. Over 100 years worth of knowledge was stored in these display cabinets. He saw the newspaper he had read the day he first used the time machine. He was impressed by the way Japan had developed so fast; collecting all these old items whilst simultaneously expanding on their technological front.') + places.remove('art museum[3]') + elif go_to == '4' and 'temple[4]' in places: + print('\nSensō-ji Temple was a masterpiece and also Tokyo’s most famous shrine. The Asakusa district was famous for its various festivals such as the Sanja Matsuri.') + proceed = input('\ngo to the festival[1], go see more sights[2]: ') + if proceed == '1': + print('\nThe festival was beautiful: lights shining everywhere, traditional dancing and music from as far as the eye could see.') + places.remove('temple[4]') + elif go_to == '5' and 'park[5]' in places: + print('\nHe travelled to Ueno Park and zoo. The greenery was astoundingly serene, covering the whole park. The zoo was filled with animals from all around the globe including polar bears, African elephants and camels.') + places.remove('park[5]') +views() + + +###----ENDING----joel### next=False while next==False: @@ -44,8 +207,4 @@ while next==False: else: print("\nPlease ensure that a valid number is entered exact word is used(including case)") print("""\nThank you for playing - ___THE END___""") - - - From b860afa8a2fb0a680fa16e7e26a734b1d149ecbd Mon Sep 17 00:00:00 2001 From: Joel Utoware Date: Fri, 9 Oct 2020 09:33:57 +0100 Subject: [PATCH 11/15] . --- StoryD7.py | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/StoryD7.py b/StoryD7.py index 8c268db..b277723 100644 --- a/StoryD7.py +++ b/StoryD7.py @@ -1,14 +1,16 @@ +======= + def dansStory(): listOfYes =["Yes", "yes", "Yes please", "yes please", "Yeah", "yeah"] playerName = input("Hello, what is your name? ") - Ans1 = input("Welcome " + playerName + " would you like to take take part in our story? ") + Ans1 = input("Welcome " + playerName + " would you like to take take part in our story? (yes/no)") if Ans1 in listOfYes: print("Thank you, enjoy!") else: print("Sorry to hear that, goodbye") exit() print("In the seventh century, in a distant place from popular civilization there was a man named Ricardo.") - Ans2 = input("Would you like to know more about Ricardo? ") + Ans2 = input("Would you like to know more about Ricardo?(yes/no) ") if Ans2 in listOfYes: print("") print("Ricardo was a very respectful man for his kindness with other people and his authority when something was getting serious. He was a family man with 3 little brothers and would never do something that would hurt them.") @@ -21,9 +23,9 @@ def dansStory(): print("Something new that nobody had discovered before") print("He had two directions to go to. It was a decision between North and South") print("") - Ans3 = input("Would you like to know more about the 2 routes ahead? ") + Ans3 = input("Would you like to know more about the 2 routes ahead? (yes/no) ") if Ans3 in listOfYes: - Ans4 = input(" Please select an option on what you wish to know about: 1) North, 2) South, 3) North and South ") + Ans4 = input(""" Please select an option on what you wish to know about: \n1) North \n2) South, \n3) North and South """) if Ans4 == "1": print("") print("North wasn´t the easiest path for him but it wasn't impossible either.") @@ -47,7 +49,7 @@ def dansStory(): print("Continuing the story...") print("") print("He took his time, thought about it and one day he finally decided to go ") - print("1) Calm and easy (South)" + " or " + "2) Adventurous and hard (North)") + print(""""1) Calm and easy (South) \n 2) Adventurous and hard (North)""") Ans5 = input("So what path do you choose? ") print("and talk to his wife Ana...") if Ans5 == "1": @@ -75,7 +77,7 @@ def dansStory(): print("") print("Eventually, the storm appeared over them and the boat was collapsing due to strong waves of the ocean.") print("At that moment he could see his brothers struggling but he felt helpless... He had a difficult choice to make.") - Ans6 = input("Are you going to 'risk your life to save your brother', or 'stay where you are and keep holding onto safety'") + Ans6 = input("""Are you going to\n 1)'risk your life to save your brother'\n'stay where you are and keep holding onto safety'""") print("") print("After the decision...") dansStory() @@ -129,7 +131,7 @@ while next==False: print("""\nAfter he uses the time machine for the second time,he arrives in New York in the 21st century. He saw so many things different, at the start he was excited because it was everything new and they have so many things to learn. In the 21st century, the technology is massive they have self-driving cars, pervasive smartphones, hoverboards, household robots that clean, cook and practically can do everything and he wants to learn how things do what they do. He was a little bit lost at the beginning, but he was willing to learn everything, so he starts working at a bar to learn their language and their costumes. One year later he starts to learn more about the technology around him and he starts to understand how machines do what they do. He reaches a point when he is working at a big technology company in New York, he bought a new house a good car but he was not satisfied. It felt like something was missing but he doesn’t know why... Maybe he already learnd everything he wanted at the 21st century.\n\nWhen Ricardo realized that a time travel with the time machine requires a real variety of resources he noticed that the several travells he made had already drained its batteries and it needs recharging, but plutonium (the main source of energy) is not so easy to find in the present period. After some thinking Ricardo came up with two ideas for completing his plan to travel in time and space. While the [1]first idea he had was great and would probably worked well he chose the [2]second idea.\n\nHe starts to create his technology and try to improve the time machine so he can go wherever he wants and the time he wants. [3]twenty years have passed...""") #main paragraph - choice=int(input("\nEnter choice by typing the number in square brackets")) + choice=int(input("\nWhat would you like to know ? \n1)The first idea 2)The second idea\n 3)or move on with story")) #allows user to input choices if choice==1: print("""\nHe can become a famous scientist and gain the trust of researchers to get plutonium. @@ -144,7 +146,7 @@ while next==False: next=True print("""\nHe still hasn’t found a way to fix the machine, he travels to Tokyo to meet a friend who can try to help him, when he arrives in Tokyo he saw that technology was superior to new York and he thought “how will Tokyo be in 2090?”.\n\nFive years later he finds a way to fix the time machine and he started preparing to travel to Tokyo 2090.\n\nRicardo landed in Tokyo, 2090. From being a technological powerhouse at the start of the 21st century, Tokyo is now the largest and most dominant capital globally, thanks to their investment in the science area. Everything is very accessible and developed, both economically and infrastructurally. From the road markings to the gigantic billboards present in every uber, the streets are full of LEDs everywhere, even more than before! Some people dislike it and say it's ugly and visual pollution, while others love it and find it fascinating.\n\nHe decided to take in the views of the city whilst he was there""") else: - print("\nPlease ensure the exact word is used(including case)") + print("\nPlease ensure the correct number is entered.") #makes sure choice is valid @@ -190,7 +192,7 @@ while next==False: print("""\nJapan had changed so much since the start of the 21st century.\nJapan is now fully autonomous. There is no need to work anymore. Doctors have been replaced by medical robots present in your own home, programmers were replaced by computers that feed themselves lines of code. Every essential worker has been replaced by robots.\nRicardo is shocked. He could have never seen such a significant development since he was still in the 17th century when he decided to go on this adventure. Also, do you remember Robocop? That's a real thing in 2090, although people don't trust the security of these armed droids, and don't trust the people behind the making of it. It is a strange feeling; Ricardo stands here in the distant future where things he can only dream about exist. Now he could choose to [1]stay here in this amazing new world or [2]return to his original time in order to be with his family. Maybe Ricardo could even do [3]both, stay in the future for a while then return afterwards""") - choice=int(input("\nEnter choice by typing the number in square brackets (each chioce shall lead to a diferent ending)")) + choice=int(input("\nWhat will he do?(each chioce shall lead to a diferent ending)\n 1)Stay in Japan 2)Return home(his original time)\n3)Stay in the furure for some time then return home")) if choice== 1: next=True From 0fe810a58932d70a4a36f5b49519a9da1d7eb3fd Mon Sep 17 00:00:00 2001 From: Joel Utoware Date: Fri, 9 Oct 2020 10:00:20 +0100 Subject: [PATCH 12/15] . --- StoryD7.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StoryD7.py b/StoryD7.py index b277723..2922fc2 100644 --- a/StoryD7.py +++ b/StoryD7.py @@ -187,7 +187,7 @@ views() ###----ENDING----joel### -next=False +next= False while next==False: print("""\nJapan had changed so much since the start of the 21st century.\nJapan is now fully autonomous. There is no need to work anymore. Doctors have been replaced by medical robots present in your own home, programmers were replaced by computers that feed themselves lines of code. Every essential worker has been replaced by robots.\nRicardo is shocked. He could have never seen such a significant development since he was still in the 17th century when he decided to go on this adventure. Also, do you remember Robocop? That's a real thing in 2090, although people don't trust the security of these armed droids, and don't trust the people behind the making of it. It is a strange feeling; Ricardo stands here in the distant future where things he can only dream about exist. Now he could choose to [1]stay here in this amazing new world or [2]return to his original time in order to be with his family. Maybe Ricardo could even do [3]both, stay in the future for a while then return afterwards""") From 19d3b44c2142ae73b09a5acac8066f9d6b46f361 Mon Sep 17 00:00:00 2001 From: Joel Utoware Date: Fri, 9 Oct 2020 10:07:49 +0100 Subject: [PATCH 13/15] . --- StoryD7.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/StoryD7.py b/StoryD7.py index 2922fc2..95cdb04 100644 --- a/StoryD7.py +++ b/StoryD7.py @@ -1,5 +1,3 @@ -======= - def dansStory(): listOfYes =["Yes", "yes", "Yes please", "yes please", "Yeah", "yeah"] playerName = input("Hello, what is your name? ") From 7dc3133afb92cb870896dfce04fb505d86ced388 Mon Sep 17 00:00:00 2001 From: Joel Utoware Date: Fri, 9 Oct 2020 10:11:26 +0100 Subject: [PATCH 14/15] . --- StoryD7.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/StoryD7.py b/StoryD7.py index 95cdb04..624310c 100644 --- a/StoryD7.py +++ b/StoryD7.py @@ -23,7 +23,7 @@ def dansStory(): print("") Ans3 = input("Would you like to know more about the 2 routes ahead? (yes/no) ") if Ans3 in listOfYes: - Ans4 = input(""" Please select an option on what you wish to know about: \n1) North \n2) South, \n3) North and South """) + Ans4 = input(""" Please select an option on what you wish to know about: \n1) North \n2) South, \n3) North and South\n """) if Ans4 == "1": print("") print("North wasn´t the easiest path for him but it wasn't impossible either.") @@ -47,8 +47,8 @@ def dansStory(): print("Continuing the story...") print("") print("He took his time, thought about it and one day he finally decided to go ") - print(""""1) Calm and easy (South) \n 2) Adventurous and hard (North)""") - Ans5 = input("So what path do you choose? ") + print("""1) Calm and easy (South) \n 2) Adventurous and hard (North)""") + Ans5 = input("So what path do you choose?\n ") print("and talk to his wife Ana...") if Ans5 == "1": print("") @@ -75,7 +75,7 @@ def dansStory(): print("") print("Eventually, the storm appeared over them and the boat was collapsing due to strong waves of the ocean.") print("At that moment he could see his brothers struggling but he felt helpless... He had a difficult choice to make.") - Ans6 = input("""Are you going to\n 1)'risk your life to save your brother'\n'stay where you are and keep holding onto safety'""") + Ans6 = input("""Are you going to\n 1)'risk your life to save your brother'\n2)'stay where you are and keep holding onto safety'""") print("") print("After the decision...") dansStory() From 6e95eea0692649abf65a7e4e5715c40d53a90da8 Mon Sep 17 00:00:00 2001 From: Joel Utoware Date: Fri, 9 Oct 2020 10:15:40 +0100 Subject: [PATCH 15/15] . --- StoryD7.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/StoryD7.py b/StoryD7.py index 624310c..e9a9ba5 100644 --- a/StoryD7.py +++ b/StoryD7.py @@ -47,7 +47,7 @@ def dansStory(): print("Continuing the story...") print("") print("He took his time, thought about it and one day he finally decided to go ") - print("""1) Calm and easy (South) \n 2) Adventurous and hard (North)""") + print("""1) Calm and easy (South) \n2) Adventurous and hard (North)""") Ans5 = input("So what path do you choose?\n ") print("and talk to his wife Ana...") if Ans5 == "1": @@ -75,7 +75,7 @@ def dansStory(): print("") print("Eventually, the storm appeared over them and the boat was collapsing due to strong waves of the ocean.") print("At that moment he could see his brothers struggling but he felt helpless... He had a difficult choice to make.") - Ans6 = input("""Are you going to\n 1)'risk your life to save your brother'\n2)'stay where you are and keep holding onto safety'""") + Ans6 = input("""Are you going to\n1)'risk your life to save your brother'\n2)'stay where you are and keep holding onto safety'\n""") print("") print("After the decision...") dansStory() @@ -129,7 +129,7 @@ while next==False: print("""\nAfter he uses the time machine for the second time,he arrives in New York in the 21st century. He saw so many things different, at the start he was excited because it was everything new and they have so many things to learn. In the 21st century, the technology is massive they have self-driving cars, pervasive smartphones, hoverboards, household robots that clean, cook and practically can do everything and he wants to learn how things do what they do. He was a little bit lost at the beginning, but he was willing to learn everything, so he starts working at a bar to learn their language and their costumes. One year later he starts to learn more about the technology around him and he starts to understand how machines do what they do. He reaches a point when he is working at a big technology company in New York, he bought a new house a good car but he was not satisfied. It felt like something was missing but he doesn’t know why... Maybe he already learnd everything he wanted at the 21st century.\n\nWhen Ricardo realized that a time travel with the time machine requires a real variety of resources he noticed that the several travells he made had already drained its batteries and it needs recharging, but plutonium (the main source of energy) is not so easy to find in the present period. After some thinking Ricardo came up with two ideas for completing his plan to travel in time and space. While the [1]first idea he had was great and would probably worked well he chose the [2]second idea.\n\nHe starts to create his technology and try to improve the time machine so he can go wherever he wants and the time he wants. [3]twenty years have passed...""") #main paragraph - choice=int(input("\nWhat would you like to know ? \n1)The first idea 2)The second idea\n 3)or move on with story")) + choice=int(input("\nWhat would you like to know ? \n1)The first idea 2)The second idea\n3)or move on with story")) #allows user to input choices if choice==1: print("""\nHe can become a famous scientist and gain the trust of researchers to get plutonium. @@ -190,7 +190,7 @@ while next==False: print("""\nJapan had changed so much since the start of the 21st century.\nJapan is now fully autonomous. There is no need to work anymore. Doctors have been replaced by medical robots present in your own home, programmers were replaced by computers that feed themselves lines of code. Every essential worker has been replaced by robots.\nRicardo is shocked. He could have never seen such a significant development since he was still in the 17th century when he decided to go on this adventure. Also, do you remember Robocop? That's a real thing in 2090, although people don't trust the security of these armed droids, and don't trust the people behind the making of it. It is a strange feeling; Ricardo stands here in the distant future where things he can only dream about exist. Now he could choose to [1]stay here in this amazing new world or [2]return to his original time in order to be with his family. Maybe Ricardo could even do [3]both, stay in the future for a while then return afterwards""") - choice=int(input("\nWhat will he do?(each chioce shall lead to a diferent ending)\n 1)Stay in Japan 2)Return home(his original time)\n3)Stay in the furure for some time then return home")) + choice=int(input("\nWhat will he do?(each chioce shall lead to a diferent ending)\n1)Stay in Japan 2)Return home(his original time)\n3)Stay in the furure for some time then return home")) if choice== 1: next=True