Giter Site home page Giter Site logo

Comments (4)

elasota avatar elasota commented on July 16, 2024

Looks potentially valid. srtm.pn doesn't define any "no_ships" string, so I guess it can be uninitialized if you fail it?

from antares.

sfiera avatar sfiera commented on July 16, 2024

Hmm. In practice, the replay shouldn’t get that far, because the key input stream ends before the last ship dies, and that’s supposed to stop the replay. Somehow, pausing (do you mean ESC or CAPS?) must allow the game time to advance further.

(It would also be good to not crash when no_ships is empty, because that could happen in real levels)

from antares.

elasota avatar elasota commented on July 16, 2024

I mean like suspending the process with the debugger attached. Not 100% sure if this is reproducible in a real-world scenario yet, but should probably test to see what happens in Space Race, The Musical if you game over from ship loss.

from antares.

sfiera avatar sfiera commented on July 16, 2024

I see, that makes more sense. If the process is suspended and resumed, it will probably attempt to catch up by running the clock through that whole time, before the replay end check.

The corresponding real-world scenario would be a very slow computer that can't effectively keep up, though that computer is not going to have a good time anyway.

from antares.

Related Issues (20)

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.