Giter Club home page Giter Club logo

code-org-python's Introduction

What is this?

This is a small python module that allows you solve some of the challenges from code.org in python. It is meant as a stepping stone from block programming to written code.

Using the importer modules, the lessons and their levels can be imported from the code.org codebase and python files are generated accordingly, for students to start coding the solution. This is an example of what it looks like side-by-side with the "If/Else with Bee" lesson. On the left is code.org, and on the right is the same level, solved in python. And bottom right is the Turtle graphics window that shows the level. if else with bee, side by side

Only lessons that code.org have released under Creative Commons license are imported and re-shared in this repo. Although with alternative artwork, as code.org holds exclusive rights to their own artwork.

How to use it?

  1. Clone this repo
  2. Create a python environment, either with your IDE or with the command python -m venv .venv
  3. Install the maze module with pip pip install -e maze
  4. Open a challenge file and try it out, e.g. from the coursed-2023/14 - Conditionals - If-Else with Bee

Artwork Attribution

Code.org has exclusive rights to their artwork and graphics, so I had to find alternative artwork from elsewhere.

The graphics and artwork is found on https://opengameart.org/ Specific mentions should go to the following for the bits I used.

Maze Games

Bee

Plants vs. Zombies

Farmer and Harvester

Birds

Collector

code-org-python's People

Contributors

stefanug 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.