Skip to main content

Educational package to learn computational thinking and other basic programming concepts

Project description

EduWorld

EduWorld is an educational python package designed for students to learn computational thinking, algorithms, and other basic programming concepts. Through this process they learn how to divide a problem into smaller steps and refine them; to abstract; to recognize patterns; and to design and implement algorithms;

Conceptually it is based on KuMir Robot and Karel the Robot.

See the eduworld.robot package for the list of the available procedural commands

Interactive mode

from eduworld.robot import setup, shutdown


setup(world="demo-world", interactive=True)
shutdown(keep_window=True)

Command keys

  • W - move up
  • S - move down
  • A - move left
  • D - move right
  • E - paint tile
  • R - pickup beeper
  • F - put beeper
  • Q - quit

Simple procedural sample

from eduworld.robot import setup, shutdown, up, down, left, right, put


setup(world="demo-world")

up()
left()
put()
put()
down()
right()

shutdown()

Oop style sample

This sample is not as polished as simple version listed above, and not the final version

from eduworld import Application, Board, AlgoWorldBoard, Robot


app: Application = Application()
board: Board = AlgoWorldBoard("demo-world")
app.set_board(board)

r: Robot = board.get_default_robot()

app.run()


r.put()
r.right()
r.put()
r.right()

r.left()
r.pickup()
r.left()
r.pickup()

a.shutdown()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eduworld-0.0.18.tar.gz (29.5 kB view details)

Uploaded Source

Built Distribution

eduworld-0.0.18-py3-none-any.whl (41.6 kB view details)

Uploaded Python 3

File details

Details for the file eduworld-0.0.18.tar.gz.

File metadata

  • Download URL: eduworld-0.0.18.tar.gz
  • Upload date:
  • Size: 29.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for eduworld-0.0.18.tar.gz
Algorithm Hash digest
SHA256 b70310e69ee6963ebe0c86dadcfa3cc99fe0e3de453ded1fe72534f8d1388746
MD5 95d6621f0bd8f66fad6c8777db1ef81b
BLAKE2b-256 021bee386edd1ba51276669472b538d52a390958c094e8115c5b06d0350b5d57

See more details on using hashes here.

File details

Details for the file eduworld-0.0.18-py3-none-any.whl.

File metadata

  • Download URL: eduworld-0.0.18-py3-none-any.whl
  • Upload date:
  • Size: 41.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for eduworld-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 b814ad99eeb2a4d3507095b26511e5ff87c899143a8d11cf0533f6643e383732
MD5 7ab7450f134fdee8078424c89a00d0cd
BLAKE2b-256 613580f540a987fc3e3b369ce15c31fcf2ac5de3940b35f6d38b7644aaa1148d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page