Coder Social home page Coder Social logo

blockly's Introduction

Blockly 20 Hour Curriculum

Blockly is a web-based, graphical programming editor. Users can drag blocks together to build an application. No typing required. Credit goes to these awesome developers and a small army of translators.

This repository contains the source code for the Blockly based 20 hour curriculum and Hour of Code. Information about Blockly can be found in the wiki.

Quick Start

# Get the code
git clone https://github.com/code-dot-org/blockly.git mooc
cd mooc

# Machine setup (OSX with Homebrew)
brew install node
npm install -g grunt-cli

# Build
npm install
grunt

# Run with live-reload server
grunt dev
open http://localhost:8000

# Run tests (after a build, or while dev is running)
grunt test

Project Specification

Both of these tutorials are found on code.org/learn or csedweek.org/learn. At the end of 1-hour, you’re sent to a Drupal thank you page that leads you back to code.org/learn

1 hour tutorial

  • 18 Maze puzzles + 6 videos, with celeb videos and licensed skins
  • No auth/identity/login, no state
  • Works on touch-screens, cross-browser (IE9+ required. IE8 highly desired)
  • Looks good on smartphones / small screens
  • Translated into at least spanish, and other non-bidi languages

20-hour curriculum

  • X stages, Y puzzles, Z videos
  • HAS student auth, teacher auth.
  • Student can see a map of where they are. Earn “trophies”
  • Teacher can see dashboard of student progress
  • Both students and teachers earn real-world rewards upon completion.
  • Works on touch-screens, cross-browser (IE9+ required. IE8 highly desired)
  • NOT optimized for smartphones / small screens. NOT translated

Contributing

Style Guide

  • In general follow google's javascript style guide.
  • 80 character line length.
  • 2 space indent.
  • 4 space indent on long line breaks.
  • grunt jshint should report 0 warnings or errors.

Localization

Since localizing in to many languages dramatically slows down the build, the default target locales are en_us and en_ploc (pseudolocalized). To build all available locales, specify MOOC_LOCALIZE=1 in your environment:

MOOC_LOCALIZE=1 grunt rebuild

See cdo-i18n for more information about the localization of Code.org projects.

Releases

Compiled distrubutions are published as tarballs to Amazon S3. You'll need the AWS CLI tool and access to the Code.org secrets. Run path/to/secrets/cdo-env ./script/release to produce a fullly-localized build in ./build/package, which will be tared up into ./dist, stampped with a git tag, pushed to GitHub, and published on S3.

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.