GithubHelp home page GithubHelp logo

natshah / eterna-script-interface Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eternagame/eterna-script-interface

0.0 1.0 0.0 1.16 MB

help users make their own script solving puzzles or scoring lab puzzles in EteRNA.

JavaScript 98.67% CoffeeScript 1.33%

eterna-script-interface's Introduction

EteRNA-Script-Interface

EteRNA script interface help users make their own script solving puzzles or scoring lab puzzles in EteRNA.

And this repository shows you how script interface evaluates and test user's code.

You can be a member of contributors if you want. Please contact us.

Installation

Just check out this repository on your machine.

    git clone https://github.com/EteRNAgame/EteRNA-Script-Interface.git

or

    git clone git://github.com/EteRNAgame/EteRNA-Script-Interface.git

Usage

Simply open main.html on your browser. You can test whole script interface on local environment.

Add library

  • Make sure your own library follows our library conventions.

    EteRNA script interface conventions
    
       - Library's filename and class should start with 'Lib'.(ex 'LibKws4679.js', 'LibKws4679')
    
       - Modularization your class like 'library/LibKws4679.js' due to stable deploy on production site.
    
          (Don't be afraid. Your class will be deployed after enough test.)
    
  • Add into main.html

    <script type="text/javascript" src="library/your-file-name.js"></script>
  • Now you can use your class in script interface.

How does it work?

  1. server_resources/jscripts/builder-script.js creates logical action of script interface.

    Note: Compiled from server_resources/coffee/builder-script.coffee

  2. server_resources/jscripts/script.js creates UI of script interface.

    Note: Compiled from 'server_resources/html/script.html

  3. script-connector.js initialize script interface.

eterna-script-interface's People

Contributors

elnando888 avatar kws4679 avatar

Watchers

 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.