Giter Club home page Giter Club logo

programmer-games's Introduction

JetBrains team project

The project LearnElm_1:

2 buttons with + and -, changing the number N in between 3 and 12. On mouse click on screen a N-polygon is drawn with the center in click and random radius between 20 and 100. There are three squares user can click on to select one of predefined colors.

The project LearnElm_2 :

The same as LearnElm_1, but implemented with SVG (plus : main panel in the center, add stroke for figures)

The project Turing:

Implementation of Turing machine. Use function "runMachine" in Main.elm, give it machine and input word. It will print tape and final state for you.

Run the project 1:

Run the following commands in your terminal to download this project and start a server that compiles them for you:

git clone https://github.com/JetBrains/programmer-games.git 

cd programmer-games/LearnElm_1

elm-reactor

Now go to http://localhost:8000/, click src and then choose Main.elm file.

Run the project 2:

Run the following commands in your terminal to download this project and start a server that compiles them for you:

git clone https://github.com/JetBrains/programmer-games.git                 
                                                                                 
cd programmer-games/LearnElm_2_                                              

elm-reactor                                                                 

Now go to http://localhost:8000/, click src and then choose Main.elm file.

Run the project 3:

Run the following commands in your terminal to download this project and start a server that compiles them for you:

git clone https://github.com/JetBrains/programmer-games.git

cd programmer-games/Turing    

elm-reactor 

Now go to http://localhost:8000/, click src and then choose Main.elm file.

For running tests from Turing/test:

Run the following commands in your terminal:

git clone https://github.com/JetBrains/programmer-games.git

cd programmer-games/Turing

elm-make test/TestRunner.elm --output test.js

Agree to upgrade plan (install some packages)

node test.js

Then you will see the results of the tests running.


programmer-games's People

Contributors

mariyadavydova avatar

Watchers

James Cloos avatar  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.