Giter Site home page Giter Site logo

quirk-js's Introduction

Quirk JS

Learn Better GitHub package.json version Deps Dev Deps

Quirk JS is a teaching tool meant to teach aspiring software engineers proper coding habbits and a bit of JavaScript syntax.

Quirk is inspired by Karel the robot (by Richard E. Pattis), also used in a Java version by the Stanford University in their CS106A course.

Quirk is completely built in JavaScript and exposes both the script runner and a code editor, making it a completely independent solution.

Plans for the future include:

  • Integration with Blockly as an alternate way of coding to encourage younger audiences
  • A Lightbot-like interface (possibly based on Blockly similar to Scratch Blocks) to encourage even younger audiences

Running Quirk

You need to have nodejs installed, preferably v.10+.

Pull the source and run yarn or npm i. There are no other dependencies.

Run Quirk using yarn start or npm start.

Building and Hosting Quirk

Run yarn build or npm run build to get the built version then host it anyplace you'd like.

License

Quirk is licenced under the MIT Licence which allows you to use it anywhere you'd like.

FAQ

Why did you pick React to do this? Why not just vanilla or anything else?

I started writing this using vanilla and decided I'd like a view engine and React was the one (because it's light and powerful by default). The code got exponentially more complex but it's also a bit more extensible and less custom, making it easy to reuse in other apps, especially React apps.

Why did you overengineer the application's architecture (folder structure)?

This way you can just pluck out the Quirk feature (view) and use it in your own app or you can use the whole project as a starter for your own apps without much change.

Why didn't you use brace or react-ace-editor?

I don't like brace's implementation of the Ace editor (it's hacky IMO) and Ace works fine by default with webpack plus it's easy to "reactify", thus bringing in an extra (or two) third party dep only detracts from the security and maintainability aspects of the app.

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.