Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 389cd0df04 | |||
| 190d4dafd7 | |||
| 8c4032bda0 | |||
| 495a3a775e | |||
| 5ac286dbc6 | |||
| c5edf49558 | |||
| 4b41013ff8 | |||
| 69a903ce95 | |||
| 3b13de2ad5 | |||
| 2a787b18cb | |||
| e3669d69f1 | |||
| 648d0f2079 |
4
.gitignore
vendored
4
.gitignore
vendored
@@ -194,3 +194,7 @@ saves/
|
|||||||
*test*
|
*test*
|
||||||
debug.json
|
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": {
|
"files.exclude": {
|
||||||
".gitignore": true,
|
".gitignore": false,
|
||||||
"LICENSE": true,
|
"LICENSE": false,
|
||||||
"README.md": true,
|
"README.md": false,
|
||||||
".vscode/": true,
|
".vscode/": false,
|
||||||
".venv/": true,
|
".venv/": false,
|
||||||
".ruff_cache/": true,
|
".ruff_cache/": false,
|
||||||
"*/__pycache__/": true
|
"*/__pycache__/": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,4 +4,11 @@ Whiskerbound remake 4 or 5 I forget
|
|||||||
|
|
||||||
This is a game about taking care of a pet
|
This is a game about taking care of a pet
|
||||||
STILL IN DEVELOPMENT
|
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(
|
print(
|
||||||
"Any progress done after this will not be saved in this string, please generate a new one to update your progress."
|
"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.")
|
systems.ui.press_any_key_to_continue("Press any key to continue.")
|
||||||
return
|
return
|
||||||
currentjson = {}
|
currentjson = {}
|
||||||
|
|||||||
18
game.py
18
game.py
@@ -47,7 +47,11 @@ class Game:
|
|||||||
"Settings",
|
"Settings",
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
options[0:0] = ["Save"]
|
options[0:0] = [
|
||||||
|
"Save",
|
||||||
|
"Save and quit",
|
||||||
|
"Quit",
|
||||||
|
]
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
match ui.select(
|
match ui.select(
|
||||||
@@ -142,7 +146,7 @@ class Game:
|
|||||||
title()
|
title()
|
||||||
if os.path.exists("WEB_VERSION"):
|
if os.path.exists("WEB_VERSION"):
|
||||||
print(
|
print(
|
||||||
"If you're on telnet, pretend that everything that says web version says telnet version, I'm too lazy to fix it."
|
"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(
|
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"
|
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"
|
||||||
@@ -188,7 +192,7 @@ class Game:
|
|||||||
or os.path.exists("WEB_VERSION")
|
or os.path.exists("WEB_VERSION")
|
||||||
):
|
):
|
||||||
options.insert(0, "Load Game")
|
options.insert(0, "Load Game")
|
||||||
if not os.path.exists("WEB_VERSION"):
|
if True: # not os.path.exists("WEB_VERSION"):
|
||||||
options.append("Quit")
|
options.append("Quit")
|
||||||
print(f"Welcome to {data.text.GAME_NAME}")
|
print(f"Welcome to {data.text.GAME_NAME}")
|
||||||
while True:
|
while True:
|
||||||
@@ -215,7 +219,7 @@ class Game:
|
|||||||
print()
|
print()
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
def main():
|
||||||
try:
|
try:
|
||||||
game = Game()
|
game = Game()
|
||||||
result = game.run()
|
result = game.run()
|
||||||
@@ -223,7 +227,7 @@ if __name__ == "__main__":
|
|||||||
print("Developer stuff incoming, if you can, tell me what this says:")
|
print("Developer stuff incoming, if you can, tell me what this says:")
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
print(
|
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"):
|
if os.path.exists("WEB_VERSION"):
|
||||||
print(
|
print(
|
||||||
@@ -303,3 +307,7 @@ if __name__ == "__main__":
|
|||||||
print(
|
print(
|
||||||
"Bye I guess, sorry about the crash, you can relaunch if you want :)?"
|
"Bye I guess, sorry about the crash, you can relaunch if you want :)?"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
|
|||||||
Reference in New Issue
Block a user