Git Product home page Git Product logo

eulerjs-1's Introduction

#EuleyJS Build Status

EuleyJS is a commandline tool for greasing up your rusty programming and math skills through Project Euler challenges. Use the euler command line interface to generate a prompt in JavaScript or CoffeeScript and verify your answers when you're done.

##Installation EuleyJS is installable via npm and depends on Node.js.

$ npm install -g euler

Uninstallation is just as simple.

$ npm uninstall -g euler

##Usage To start out, you'll want to create a project-euler directory and cd into it.

$ mkdir project-euler && cd project-euler
  Usage: euler [options]

  Options:

    --version               output the version number
    -h, --help              output usage information
    -s, --solve    [value]  Print solution
    -g, --generate [value]  Generate file with problem prompt
    -c, --coffee   [value]  Generate coffeescript file with problem prompt
    -p, --preview  [value]  Preview problem prompt
    -v, --verify   [value]  Verify solution to problem
    -V  --verify-all        Verify all solutions in cwd

So, if you're trying to verify your solution for euler_123.coffee, you'd type something like

$ euler -vc 123

and you'd get the following output:

-------------------------------
Problem 123
1337 is incorrect
207ms run time
-------------------------------

##Inspiration ❤️ EuleyJS is a port port of Kevin Yap's EulerPy which was built on Kyle Keen's Local Euler resources.

##License Licensed under the MIT License.

eulerjs-1's People

Contributors

jrhdoty avatar aaromp avatar paulyi326 avatar

Watchers

Jeff L avatar

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.