Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 389cd0df04 | |||
| 190d4dafd7 | |||
| 8c4032bda0 | |||
| 495a3a775e | |||
| 5ac286dbc6 | |||
| c5edf49558 | |||
| 4b41013ff8 | |||
| 69a903ce95 | |||
| 3b13de2ad5 | |||
| 2a787b18cb | |||
| e3669d69f1 | |||
| 648d0f2079 | |||
| 5aa8d6beb3 |
6
.gitignore
vendored
6
.gitignore
vendored
@@ -193,4 +193,8 @@ cython_debug/
|
||||
saves/
|
||||
*test*
|
||||
debug.json
|
||||
uuids.json
|
||||
uuids.json
|
||||
admin_handle.py
|
||||
WEB_VERSION
|
||||
index.html
|
||||
server.py
|
||||
14
.vscode/settings.json
vendored
14
.vscode/settings.json
vendored
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"files.exclude": {
|
||||
".gitignore": true,
|
||||
"LICENSE": true,
|
||||
"README.md": true,
|
||||
".vscode/": true,
|
||||
".venv/": true,
|
||||
".ruff_cache/": true,
|
||||
"*/__pycache__/": true
|
||||
".gitignore": false,
|
||||
"LICENSE": false,
|
||||
"README.md": false,
|
||||
".vscode/": false,
|
||||
".venv/": false,
|
||||
".ruff_cache/": false,
|
||||
"*/__pycache__/": false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,4 +4,11 @@ Whiskerbound remake 4 or 5 I forget
|
||||
|
||||
This is a game about taking care of a pet
|
||||
STILL IN DEVELOPMENT
|
||||
(Buggy) [Demo now available](whiskerbound.owendeed.com)
|
||||
|
||||
To play on a web browser, go to my site, [owendeed.com](https://owendeed.com), wait for it to load, and type help as a command, you can figure it out :)
|
||||
|
||||
Telnet also now available!
|
||||
|
||||
```bash
|
||||
telnet 195.201.227.193 2323
|
||||
```
|
||||
|
||||
@@ -83,7 +83,7 @@ def save(cat: Cat, dont_save=False):
|
||||
print(
|
||||
"Any progress done after this will not be saved in this string, please generate a new one to update your progress."
|
||||
)
|
||||
print("To get back to the main menu and quit, reload the page.")
|
||||
print("You will now be at the main menu, you can select quit to exit.")
|
||||
systems.ui.press_any_key_to_continue("Press any key to continue.")
|
||||
return
|
||||
currentjson = {}
|
||||
|
||||
19
game.py
19
game.py
@@ -47,7 +47,11 @@ class Game:
|
||||
"Settings",
|
||||
]
|
||||
else:
|
||||
options[0:0] = ["Save"]
|
||||
options[0:0] = [
|
||||
"Save",
|
||||
"Save and quit",
|
||||
"Quit",
|
||||
]
|
||||
|
||||
while True:
|
||||
match ui.select(
|
||||
@@ -141,6 +145,9 @@ class Game:
|
||||
def run(self):
|
||||
title()
|
||||
if os.path.exists("WEB_VERSION"):
|
||||
print(
|
||||
"If you're on telnet, pretend that everything that says web version says telnet version, I'm too lazy to fix it. Also don't use CTRL+C or CTRL+V they don't work on telnet. If you don't know what telnet is, ignore this."
|
||||
)
|
||||
print(
|
||||
f"This is a web version of {data.text.GAME_NAME}, here is some important info. To anyone outside of Germany, this game is running on a cheap VPS I got, the company didn't have any US locations available, so I had to get a Germany one, sorry for the high ping (I also have to deal with it, I'm in the US)\nPls don't hack this"
|
||||
)
|
||||
@@ -185,7 +192,7 @@ class Game:
|
||||
or os.path.exists("WEB_VERSION")
|
||||
):
|
||||
options.insert(0, "Load Game")
|
||||
if not os.path.exists("WEB_VERSION"):
|
||||
if True: # not os.path.exists("WEB_VERSION"):
|
||||
options.append("Quit")
|
||||
print(f"Welcome to {data.text.GAME_NAME}")
|
||||
while True:
|
||||
@@ -212,7 +219,7 @@ class Game:
|
||||
print()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
def main():
|
||||
try:
|
||||
game = Game()
|
||||
result = game.run()
|
||||
@@ -220,7 +227,7 @@ if __name__ == "__main__":
|
||||
print("Developer stuff incoming, if you can, tell me what this says:")
|
||||
traceback.print_exc()
|
||||
print(
|
||||
"Welp, seems that the game crashed, idk why. A common cause of this is, as of now, IDK, because I fixed the CTRL issue (tell me if it crashed from CTRL+something). If you're on the desktop version, reopen it, if you're on the web version, reload.\nOtherwise, great job! You found an issue in the game! If you can, please tell me."
|
||||
"Welp, seems that the game crashed, idk why. A common cause of this is, as of now, IDK, because I fixed the CTRL issue (tell me if it crashed from CTRL+something). If you're on the desktop version, reopen it, if you're on the web version, restart it.\nOtherwise, great job! You found an issue in the game! If you can, please tell me."
|
||||
)
|
||||
if os.path.exists("WEB_VERSION"):
|
||||
print(
|
||||
@@ -300,3 +307,7 @@ if __name__ == "__main__":
|
||||
print(
|
||||
"Bye I guess, sorry about the crash, you can relaunch if you want :)?"
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user