Git Product home page Git Product logo

dual-n-back's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dual-n-back's Issues

Cannot tap both Eye and Sound buttons simultaneously on Android

If I tap both buttons simultaneously (say within ~200 milliseconds of each other), neither registers.

When using this on a phone, that's annoying, as it feels like you should be able to tap both simultaneously.

Tested in Android Firefox 68.11.0 and Android Chrome 84.0.4147.125 on Android 8.0.0 (device is a Samsung Galaxy S7).

Tapping buttons on Galaxy S7 tends to select text

In Firefox on my Galaxy S7, when I tap the Eye and Sound buttons while playing, I fairly often activate text selection.

Fixing this might be as easy as setting user-select: none in the CSS for those buttons. I'm on my S7 right now or I might just try it myself.

Can this project work on Windows Chrome?

I tried running the index.html file using Visual Studio Code (v1.66.2) as I wanted to make edits to test configuration. Got the below error which got resolved by adding the js files as source files.

Uncaught ReferenceError ReferenceError: start_game is not defined
at onclick (c:\Users.......\index.html:71:45)

Next, I got this error.
Uncaught DOMException DOMException: Blocked a frame with origin "null" from accessing a cross-origin frame.
at get_screen ([d:......\js\logic.js:83:62)
at document.getElementById.onload ([d:.......\js\logic.js:162:9)
--- load ---
at goto_game ([d:......\js\logic.js:161:49)
at start_game ([d:.....\js\logic.js:527:5)
at onclick ([d:......\index.html:75:45)

Is there a way to run it on Windows Chrome or am I missing here something? I was able to play the online version on my Windows Chrome browser. Thanks in advance.

Keyboard input

On desktop, being able to press keys (rather than only use the mouse) would require less mental context switching into motor control.

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.