Coder Social home page Coder Social logo

untitled-the-adventure-game's People

Contributors

kvagram avatar olavhjortas avatar unicus-erik avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

untitled-the-adventure-game's Issues

Answering Y/N questions with just Enter causes crash

The following yes/no questions will make the program crash if Enter is pushed without other input:

-When asked if having entered one's name (see sample below)
-When asked to enter a particular room

So probably all Y/N questions have the potential to make the program crash.

Sample:

        ugh.. Was it Olav?
        [Y] yes
        [N] no


Traceback (most recent call last):
  File "main.py", line 204, in <module>
    start()
  File "main.py", line 96, in start
    game_loop()
  File "main.py", line 62, in game_loop
    room(save)
  File "C:\Users\Olav\Documents\GitHub\Untitled-the-adventure-game\room_apartment.py", line 193, in main
    newgame()
  File "C:\Users\Olav\Documents\GitHub\Untitled-the-adventure-game\room_apartment.py", line 29, in newgame
    if game.yesno("ugh.. Was it {0}?".format(inp)):
  File "C:\Users\Olav\Documents\GitHub\Untitled-the-adventure-game\game_utilities.py", line 147, in yesno
    if(inp[0] == "y" or inp[0] == "Y"):
IndexError: string index out of range

Game crashes when engaging emergency overload

Note that I haven't attempted to reproduce this one. Transcript:

`Alarms bleeping, lights flashing, plasma leaking, then unleaking, as small pockets of local spacetime loops.
As you enter the room you instinctivly step aside to let an oddly familiar woman out of the room.
Surprisingly, she looked oddly familiar. Looking up from her hands and at you, the woman looks as shocked as you.
But as suddenly as she appeared, the woman suddenly disappeared.

What was she? A ghost?

You sit down on the chair in front of the controls.
You look around at all the virtual knobs and dials on the control-screen.

Looking to your left, you find a manua.. wait.
..
it's gone.
no, now it's there again.
..and it's gone!

    What will you do?
     [1] - try to snatch the manual next time it appears
     [2] - randomly enter data into the control-screen

1

You hover your hand over where the manual were a second ago.
...
There it is! you snatch it!
..!
Ouch!
You got the manual book in your hand, but your fingers are now covered in a layor of some oily substance.
And they feel cold, really cold and numb.
Looking at the where you picked up the manual, it suddenly flashed in again, despite also being in your hand.
Moreover, there was now something else.. your fingers!
your disenbodied fingers appearing out of nowhere to grab the manual,
only to dissappear, and reappear.
You decide to ignore this odd phenomenon, as you focus on your task.

Browsing the manual you find instructions for a number of emergency procedures.

    What procedure will you attept?
     [1] - Engage control room fire suppression system
     [2] - Shutdown tacheon emitter array
     [3] - Engage emergency particle decelerator
     [4] - Engage emergency particle accelerator
     [5] - Run automatic diagnostics
     [6] - Depolorize the tacheon emitter
     [7] - Engage accellerator fire suppression system
     [8] - Initiate Emergency cooling system
     [9] - Engage emergency overload

9
Traceback (most recent call last):
File "main.py", line 205, in
start()
File "main.py", line 97, in start
game_loop()
File "main.py", line 62, in game_loop
room(save)
File "C:\Users\Olav\Documents\GitHub\Untitled-the-adventure-game\outer.py", line 444, in main
nav.loop(save)
File "C:\Users\Olav\Documents\GitHub\Untitled-the-adventure-game\game_utilities.py", line 386, in loop
self.runAction()
File "C:\Users\Olav\Documents\GitHub\Untitled-the-adventure-game\outer.py", line 21, in runAction
act()
File "C:\Users\Olav\Documents\GitHub\Untitled-the-adventure-game\outer.py", line 249, in reactNode
game.setGameover(game, "You found a way to blow youself up. You are very VERY dead!")
File "C:\Users\Olav\Documents\GitHub\Untitled-the-adventure-game\game_utilities.py", line 240, in setGameover
save.setdata("GAME OVER", reason)
AttributeError: module 'game_utilities' has no attribute 'setdata'`

"Manual book"

I don't understand the meaning of this expression, found in the following narrative:

You got the manual book in your hand, but your fingers are now covered in a layor of some oily substance.

Possibly incorrect indentation

One of the paragraphs in the game is this:

You exit out of your room, and behold the large corridor streching as far as you can see in either direction.
    You may still be a bit dizzy, as you could swear the floor bends a bit upwards both ways.
    The lights flicker, and you see random trash, maybe forgotten items, strewn around the floor.
    As the door closes, you note the number-plate on your door.
        _________________
        |   C2A - 068   |
        ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾

I'm unsure about the indentation starting on the line "You may still be a bit dizzy(...)".

Incorrect sentence

You press the button.
**The button flash on.**
...
You hear an odd clang
...
One of the elevator doors open in a very slight crack.
Then you hear a fizzeling sound, and everything stops working
        You are now next to Elevator C2A, what will you do?
         [1] - GO LEFT
         [2] - use
         [3] - GO RIGHT
         [4] - (open game menu)

The bold sentence doesn't work. 'The button flashes', maybe?

Overlapping description text for alien translation device

Steps to reproduce:
Start the game, examine table, take pills, drink from glass, get the introduction out of the way, leave room, travel against arrows to diner, enter diner
Fumble cylindrical shape
Search alien body
Search mysterious rack

(alternatively: fumble cylindrical shape, then search mysterious rack, then search alien body)

In the item bar at right will now be an overlapping merger of two descriptions:

An alien device
that translates
both text and speech
and clockwork analogues

This combines text elements from text keys <ITEM_TRANSLATOR_DESC> and <ITEM_BROKE_TRANSLATOR_DESC>.

Attempting to load a game on Windows gives JSONDecodeError

I previously successfully saved a game, but could not load it. Full text of error message from command line when attempting load:

Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Python3\lib\tkinter\__init__.py", line 1702, in __call__
    return self.func(*args)
  File "C:\Python3\GroupProjectAdventureGame\Game.py", line 80, in loadgame
    ldata = json.load(f)
  File "C:\Python3\lib\json\__init__.py", line 299, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "C:\Python3\lib\json\__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "C:\Python3\lib\json\decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Python3\lib\json\decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 163 (char 162)

The savefile contents read as follows:
{"version": [1, 2, 2], "prevplace": "apartment", "place": "middle", "inventory": {"HEADACHE": false}, "name": "Annie Mouse", "apartment:window": true, "malefam":
I imagine there should be a closing } here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.