Git Product home page Git Product logo

rapid-router's Introduction

Rapid Router

Workflow Status Coverage Status

LICENCE

In accordance with the Terms of Use of the Code for Life website, all copyright, trademarks, and other intellectual property rights in and relating to Code for Life (including all content of the Code for Life website, the Rapid Router application, the Kurono application, related software (including any drawn and/or animated avatars, whether such avatars have any modifications) and any other games, applications or any other content that we make available from time to time) are owned by Ocado Innovation Limited.

The source code of the Code for Life portal, the Rapid Router application and the Kurono/aimmo application are licensed under the GNU Affero General Public License. All other assets including images, logos, sounds etc., are not covered by this licence and no-one may copy, modify, distribute, show in public or create any derivative work from these assets.

Rapid Router

Code for Life has been developed by Ocado Technology as a free, open-source project to inspire the next generation of computer scientists and to help teachers deliver the computing curriculum.

Rapid Router is a Code for Life project, primarily aimed at teaching primary school students programming concepts through a vehicle routing game (older students welcome). It starts with Blockly and transitions to Python.

This repository hosts the source code of the Rapid Router game.

We are open to contributors from anywhere around the world. Please read ahead if you'd like to get involved.

To get started

rapid-router's People

Contributors

actions-user avatar andersschuller avatar benbacardi avatar celineboudier avatar cheriepun avatar chris-leach avatar chrismukherjee avatar dependabot[bot] avatar dionizh avatar eddarmitage avatar evemartin avatar faucomte97 avatar issyrichards avatar josephezammit avatar kamilpawel avatar mikebryant avatar mmfernando avatar mrniket avatar nanorepublica avatar olivercartz avatar paulheideman avatar pawelkrupinski avatar piotrrepetowski avatar razvan-pro avatar reeanne avatar robertbrignull avatar ruthdw avatar sebp999 avatar skairinos avatar spycho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rapid-router's Issues

Restrict the maximum number of times you can loop

Currently you can put nonsensically large numbers into the repeat block (see screenshot below). The block has a validator that prevents you from putting in a negative or NaN value. It is possible to hack a different validator onto it with the below code, but perhaps there is a nicer way to do this (hopefully without having to copy the whole block definition):

var controlsRepeatBlock = Blockly.Blocks['controls_repeat'];
var originalInit = controlsRepeatBlock.init;
controlsRepeatBlock.init = function () {
    originalInit.call(this);

    this.inputList[0].fieldRow[1].changeHandler_ = function(text) {
        var n = Blockly.FieldTextInput.numberValidator(text);
        if (n) {
            n = String(Math.min(Math.max(0, Math.floor(n)), 10));
        }
        return n;
    };
};

Also, @eddarmitage noted that this would not prevent nested loops, but I'm not sure there's much we can do about those...

image

Allow level description pop-ups

So we can give the students an idea of the goals of the level and provide pointers/assistance to get them started, and teach them about the new elements.

Should be possible just to add a big ol' text field onto the level class.

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.