Giter Club home page Giter Club logo

script-8.github.io's Introduction

DEPRECATED

This project is now in archive mode.

script-8-nextjs

This is a rewrite of SCRIPT-8.

Roadmap

  • Create Canvas drawing API as an npm module
  • Use Web Workers to handle game loop
  • Setup GitHub authentication
  • Setup comments

script-8.github.io's People

Contributors

cakenggt avatar camto avatar dependabot[bot] avatar gabrielflorit avatar grantlouisherman avatar icarito avatar kethku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

script-8.github.io's Issues

Add time-traveling debugger

  • save user input from start until you hit
  • add record/stop buttons to run
  • save user input along with ticks, and send back to parent (save to store)
  • on code, display that we have recorded data
  • from code, add option that tells output to eval all the frames recorded (see b.v. for ui ideas)

Improve sound logic

  • add sound on / off toggle
  • verify that sound effects work and are played immediately
  • verify that sound on / off mutes instead of pause
  • make sure that we create long songs right away, for performance
  • verify that songs are played immediately

Scrollbars on preview panel

Every time the preview panel reloads, it gets these scrolbars.

Screenshot of scrollbars

When you interact with the preview panel, they go away.

Firefox 60.0.1 on Linux Mint

Fix vulnerabilities

npm audit shows that there are 11 vulnerabilities in SCRIPT-8's packages. Upgrading react-scripts to 1.1.4 fixes most of them: npm install [email protected]
After upgrading, there are only 2:
Critical - macaddress - Command Injection Vulnerability - Node Security advisory link
Moderate - base64url - Out-of-bounds Read Vulnerability - Node Security advisory link
gh-pages requires base64url.
The path for macaddress:

react-scripts > css-loader > cssnano >postcss-filter-plugins > uniqid > macaddress

base64url can also be fixed by upgrading to >= 3.0.0
However, macaddress hasn't got any patch it's vulnerability.

  • Fix the vulnerability in macaddress
  • Fix the vulnerability in base64url

Implement publish

  • add menu option (put on shelf)
  • make it write to DB (payload: url, compressed version of image)
  • add DB query to retrieve all entries, sorted by some criteria
  • add shelf page to display all those entries

Preview panel runs automatically

The game preview panel automatically runs when the page opens, and reloads/restarts every time you change editor tabs. This is more a nuisance than anything, particularly for poorer hardware. It's nice to have, but it should only run when you press PLAY.

I use a fairly old (and noisy) machine so it bothers me a little ๐Ÿ˜›

Functions are not sandboxed.

Any casette can run any JS code just like in the console.
For example, a casette with:
alert(1)
will produce the effect of alert(1).
document.write(""); will execute document.write, which will remove everything from the page.
This makes everything unsafe, and everyone would need to check if a casette is okay to be run.

Add visual buttons on mobile

Detect if the user is on mobile and when playing display a touchable buttons to act like arrow keys and other keys

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.