├── LICENSE ├── README.md └── eXit.py /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 sinfulz 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![License](https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square)](https://github.com/Manisso/fsociety/blob/master/LICENSE) ![OS](https://img.shields.io/badge/Tested%20On-Linux%20|%20OSX%20-yellowgreen.svg?style=flat-square) [![Python3](https://img.shields.io/badge/Python-3-green.svg?style=flat-square)](https://github.com/CRO-THEHACKER/fsociety3) 2 | 3 | [![alt tag](http://nikolaskama.me/content/images/2016/07/mr-robot-1.gif)](https://wikipedia.org/wiki/Mr._Robot) 4 | 5 | # PRESS ANY KEY TO START. 6 | 7 | eXit is the game found on the Mr Robot tv series. It can be played here: https://www.whoismrrobot.com/exit/ 8 | 9 | I have ported the game over to Python as part of a project I created to understand and learn Python. 10 | 11 | # Requirements 12 | * os 13 | * sys 14 | 15 | # Usage 16 | 17 | ``` 18 | python3 eXit.py 19 | ``` 20 | 21 | # Changelog 22 | * Version 0.1, 19/04/2020 - Release day! 23 | 24 | # Disclaimer: 25 | This is my first Python program created, it may not have been written using the best Python coding skills but it has been done 100% by me. Feel free to suggest changes/improves/feedback via the Issues section. Please treat this as a work in progress as I will continously improve it to make the program as efficient & bug free as possible. Thank you. 26 | 27 | This piece of software has no affiliation with the Mr Robot brand or the USA Network. 28 | -------------------------------------------------------------------------------- /eXit.py: -------------------------------------------------------------------------------- 1 | #!/bin/python3 2 | 3 | # **Answers to each input:*** 4 | # move barrel 5 | # enter tunnel 6 | # read note 7 | # leave 8 | # look 9 | # get on boat 10 | 11 | 12 | import os 13 | import sys 14 | 15 | ascii = ''' 16 | ████████████████████████████████████████████████▓▓▓▓▓▓▓▓█████▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 17 | █████████████████▓╨╨╨╨╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╟▓▓██▓▓▓▓▓▓▓▓▓▓▓ 18 | █████████████████▌``¡≥≥▒▒▒≥≥≥▒≥≥≥▒▒▒Q░░░░░▒Q░Q░▒▒▒▒▒≥▒≥▒▒≥≥≥≥░?^╠╫▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 19 | █████████████████▌--░╠╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╣╣╬╬╬╬╬╬╬╬╬╢╬╬╠╠╠╠▒▒▒╫▒--╠╫██▓▓▓▓▓▓▓▓▓███ 20 | █████████████████▌(ⁿ;╠╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╠╠╠╠╠╠╠╠╬▒ƒⁿ╠╣▓▓█████▓▓█████ 21 | █████████████████▌-,»░╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬▒▒▒╬▒Γ,░╬▓▓██▓▓▓▓▓█████ 22 | █████████████████▌⌐¬;╠╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╩╩╩╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬░⌐¬╚╣▓▓▓▓▓▓▓▓▓██▓▓▓ 23 | █████████████████▌""7▒╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬∩. .╠╬╬╬╬╬╬╬╬╬╬▒▒▒▒▒▒▒▒╬▒b"≤╟█▓▓▓▓▓▓▓▓▓▓▓▓▓ 24 | █████████████████▌~~~┘~╙╙╙╙╙╙╙║╫╫╫╫░~~~~~║╫╫╫╫╢╢╢╢╢╠▒▒▒▒▒▒▒▒╫▒~~5╫▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 25 | █████████████████▌`````````````╙╙╙╙?````^╠╢╬╬╬╬╬╬╬╠╠▒▒▒▒▒▒▒▒╬▒░`5╫▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 26 | █████████████████▌-----------------------║╫╫╬╢╢╢╢╢╠▒▒▒▒▒▒▒▒▒╫▒--░╬╬╣▓▓▓▓▓████▓▓▓ 27 | █████████████████▌;;;ⁿ ,ƒ╠╬╬╬╬╬╬╬╬╬╠╠╠╠╠╠╠╠░╬▒░;░╠╬╬╬╬▓██████▓▓▓ 28 | █████████████████▓ΓΓΓΓ '░╠╬╬╬╬╬╬╬╬╬▒▒▒▒▒▒▒▒▒╬▒ΓΓ░╬╬╬╬╬█████▓▓▓▓▓ 29 | █████████████████▌¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬;╠╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╚░╬░⌐¬░╟████▓▓▓██▓▓▓▓╬ 30 | █████████████████▌"""". ......... ...777╠╬╬╬╬╬╬╬▒▒▒▒▒▒▒▒▒▒ñ╠▒""ñ╟▓▓▓▓██▓▓▓▓▓╬╬╬ 31 | █████████████████▌~~~~~~~~~~~~~~~~~~~»»~∞║╫╫╫╢╢╢╢▒▒▒▒▒▒▒▒▒░░╠░~~░╫▓▓██▓▓▓▓▓╫╫▓██ 32 | █████████████████▌````````````````??????░╟▓╫╬╬╬╬╬▒▒▒▒▒▒▒▒▒▒▒╠▒░`3╫██▓▓▓▓▓▓▓▓▓▓▓▓ 33 | █████████████████▌----------------------Å╫█▓╫╢╢╢▒▒▒▒▒▒▒▒▒░░░╠▒--░╫▓▓██▓▓▓▓▓▓▓▓▓▓ 34 | █████████████████▌;;;ⁿ ;ƒƒƒƒƒƒ;≥╟█▓╬╬╬╬╠╠╠╠╠╠▒░╠░░░╠░ƒ;░╟██▓▓▓▓▓▓▓▓▓▓▓▓ 35 | █████████████████▌---- -======░╚╟▓▓╬╬╬╬▒▒▒▒▒╩▒░▒░░░╠▒=-░╟██▓▓███▓▓▓▓▓▓▓ 36 | █████████████████▌¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬j╠╬╬╬╬╬╬╬╬╬╬╩▒░░╩░░░╠░⌐¬░╟███████▓▓▓▓▓█▓ 37 | █████████████████▌........""7.:"""""""""l╠╬╬╬╬╬╬╬╬▒▒▒▒▒▒▒▒▒▒╠▒".⌠╟███████▓▓▓▓▓▓▓ 38 | █████████████████▌~~~~»»~~~~~~~~~~~~~ⁿⁿⁿⁿ║╢╢╢╢╢╢▒╩▒▒╚╙░░░░░░╠░~~≤╫███████▓▓▓▓▓▓▓ 39 | █████████████████▌^^^^?????????????¿````^╠╬╬╬╬▒▒▒▒▒▒▒▒▒▒▒▒▒▒╠▒░^5╫█████▓▓▓▓▓▓▓▓▓ 40 | █████████████████▌----~~------------~~~~-║╫╢╢╢╢╠╠╠╠╠╚╚╚╚╚▒░▒╠▒--░╫█████████▓▓╬╢╢ 41 | █████████████████▌;;;;, ,;╠╬╬╬╬╠╠╠╠╠░░░░░░░░░╠░░;╠╫█████████▓▓╬╬╬ 42 | █████████████████▌-----------------------╠╬╬╬╬╬▒▒▒▒▒░░░░░░░░╠░░-░╣███████▓▓█████ 43 | █████████████████▌¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬╠╬╬╬╬╬╬╬╬╬░░░░░░░░░╠░¬¬╠╣██████████████ 44 | █████████████████▌..... ..╠╬╬╬╬╬▒▒▒▒▒▒▒▒▒▒▒▒▒╠▒..ñ╟██████████████ 45 | █████████████████▌~~~~~~~~~~~~~~~~~~~~~~~╠╫╫╬╢╠╠▒▒▒▒▒░░░░░░░╠░~~░╫██████████████ 46 | █████████████████▌^^^^``````````````````^╠╬╬╬╬╬╬╠▒▒▒▒▒▒▒▒▒▒▒╠▒^^3╫████████████▓▓ 47 | █████████████████▌----──────────────────-║╫╫╫╫╫╫╫╫▒▒▒▒▒▒▒░░░╠▒--¡╫██████████████ 48 | ██████████████████░((;ⁿⁿ;ⁿ;(;ⁿⁿ((;ⁿⁿⁿⁿⁿ;░╟▓▓▓▓▓╬╬╬╬╬╬╬╬╠╠░░░╠░░(░╫██████████████ 49 | ██████████████████░---------------------░╟▓▓▓▓███▓▓▓▓╬╬╬╬╬▒▒╬░░-░╟██████████████ 50 | ██████████████████▒╔╔╦▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▓▓▓▓▓▓▓▓▓████████▓▓▓▒Q╔╔╣██████████████ 51 | ████████████████████████████████████████████████████████████████████████████████ 52 | ████████████████████████████████████████████████████████████████████████████████ 53 | ████████████████████████████████████████████████████████████████████████████████ 54 | ███████████████████████████████▓╫╫╫╫█████╫╫╫╫▓██████████████████████████████████ 55 | ███████████████████╬╬╬╬╬╬╬╬█████╬╬╬╬╬╬╬╬╬╬╬╬╣█████████████╬╬╬╬██████████████████ 56 | █████████████████╬╬╬▓███▓╬╬╬╣████▓╬╬╬╬╬╬╬╬╬███████▓╬╬╬╬██▓▓╬╬╬╬╣▓▓██████████████ 57 | ██████████████╬╬╬╬╬╬╬╬╬╬╬╬╬╬╣████▓╬╬╬╬╬╬╬╬╬████████╬╬╬╬╬█████╬╬╬╬███████████████ 58 | █████████████╬╬╬╬▓███████████████╬╬╬╬╬╬╬╬╬╬╬███████▓╬╬╬╬█████▓╬╬╬╬╬█████████████ 59 | ███████████▓╬╬╬╬╬███╬╬╬╬╬╣█████╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬██████╬╬╬╬╬╬████▓╬╬╬╬╣████████████ 60 | ██████████╬╬╬╬╬╬╬╬╬╬╬╬╬▓▓████╬╬╬╬╬╬╬▓██╬╬╬╬╬╬╬╬█████╬╬╬╬╬╬██████▓╬╬╬╬╬██████████ 61 | █████████████╫╫╫╫╫╫╫██████╬╫╫╫╫╫╫╫╫█████▓╫╫╫╫╫╫╫╢█████╫╫╫╫╫████████╫╫╫╫╫╫╫╢█████ 62 | ██████████████████████████╬╬╬╬╬╬╬▓███████▓╬╬╬╬╬╬╬██████████████████████▓▓▓██████ 63 | ███████████████████████▓╬╬╬╬╬╬╬▓██████████╬╬╬╬╬╬╬╬╬╬████████████████████████████ 64 | ████████████████████████████████████████████████████████████████████████████████ 65 | ████████████████████████████████████████████████████████████████████████████████ 66 | ████████████████████████████████████████████████████████████████████████████████ 67 | ''' 68 | print(ascii) 69 | 70 | def congrats(): 71 | print("Congratulations, you're heading to a new world!." + "\n" + "Do you want to play again?") 72 | if input(">") == "yes": 73 | os.execl(sys.executable, os.path.abspath(__file__), *sys.argv) 74 | else: 75 | quit() 76 | return 77 | 78 | def startagain(): 79 | input('Press the enter button to continue...') 80 | return 81 | startagain() 82 | 83 | def trapped(): 84 | print("You're trapped in a dungeon with your friend." + "\n" + "You see a barrel. What do you do?") 85 | return 86 | trapped() 87 | 88 | def dungeon(): 89 | if input(">") == "move barrel": 90 | print ("The barrel rolls aside and you find a secret tunnel." + "\n" + "What do you do?") 91 | else: 92 | print ("You can't do that here.") 93 | return 94 | dungeon() 95 | 96 | def bye(): 97 | if input(">") == "enter tunnel": 98 | print ("You start to escape but your friend is too weak to go with you. They hand you a note." + "\n" + "What do you do?") 99 | else: 100 | print ("You can't type that.") 101 | return 102 | bye() 103 | 104 | def note(): 105 | if input(">") == "read note": 106 | print ("It is too dark to read the note." + "\n" + "What do you do?") 107 | else: 108 | print ("You can't do that here.") 109 | return 110 | note() 111 | 112 | def leave(): 113 | if input(">") == "leave": 114 | print ("You crawl through the tunnel and the tunnel leads to a beach." + "\n" + "What do you do?") 115 | else: 116 | print ("You can't do that here.") 117 | return 118 | leave() 119 | 120 | def look(): 121 | if input(">") == "look": 122 | print ("In the water you see a boat." + "\n" + "What do you do?") 123 | else: 124 | print ("You can't do that here.") 125 | return 126 | look() 127 | 128 | def get(): 129 | if input(">") == "get on boat": 130 | congrats() 131 | return 132 | get() 133 | 134 | --------------------------------------------------------------------------------