Git Product home page Git Product logo

gameoff2020-a_space_adventure's People

Contributors

gmoraitis avatar

Watchers

 avatar  avatar

gameoff2020-a_space_adventure's Issues

Clear text after pressing enter?

I just tried your game on itch, and I found it a bit painful to have to clear the input element after each command. It would be nice if you could do that automatically when you handle the enter key event.

Thanks!

No "rejection" message for incorrect answers

When giving an incorrect answer for the number-based puzzles, the interpreter responds with "I can't understand...Try to start again or type 'north' for example..."

It would be nice if there was some statefulness in the game, so that it knew I was trying to answer a numerical puzzle, and it would tell me I'm wrong when I type the wrong number.

Third number puzzle has two answers

Only one answer is accepted, but there are two valid answers to this:

There is a three-digit number. The second digit is 4 times bigger than the third digit. The first digit is 3 less than the second digit. What number is it?

If the digits are X, Y, and Z (in that order), we have these relations:

X = Y - 3
Y = 4 * Z
0 <= X <= 9
0 <= Y <= 9
0 <= Z <= 9

This is solved by:
X, Y, Z = 5, 8, 2
or
X, Y, Z = 1, 4, 1

Numbers puzzle is unclear

The puzzle says "I will give you two numbers and figure out what is the third one so if you add all together or multiply all together the answer will be 6". But the game never "gives two numbers". After reading the source, I think I understand how the puzzle was meant, but it wasn't clear.

Perhaps it should say "1, 2, ..." after the existing prompt. As far as I can tell, those are the first two numbers that would make the answer to the puzzle true. Meaning, those are X & Y, and find Z such that X+Y+Z and X * Y * Z are both 6.

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.