Code Monkey home page Code Monkey logo

norewar-dev's Introduction

Norewar Development Tool

The development tool for Norewar.

Installation

Use Bundler to install the required gems.

bundle install

Common Usage

The main CLI program is a small Norewar interpreter for development & debugging, enter the main directory & use the following command to start it.

./run something.json

Configuration

Json is used for configuration. Details see etc/demo/test.json

Commands

After entering the program(if there's nothing wrong), a match will be created & paused according to the json config, a '>' prompt will appear for you to enter commands.

Here's some useful commands:

print

Print the current map of the match.

next [times]

Run the next frame of the match, an optional integer argument can be used to run multiply frames.

code x y [line]

Print the current memory code of the robot at (x, y). If the line number is not given, it will be set to the next command of the robot as default. The previous & next 10 commands will also be printed.

quit

Leave the program.

Demonstration

The tool also provide some demonstration of Norewar script in etc/demo/.

Notice

If you have any problem, please open an issue in Norewar.

norewar-dev's People

Contributors

yiwenlu66 avatar

Watchers

 avatar  avatar

Forkers

yiwenlu66

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.