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.17.tar.gz (30.9 kB view details)

Uploaded Source

Built Distribution

eduworld-0.0.17-py3-none-any.whl (40.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eduworld-0.0.17.tar.gz
Algorithm Hash digest
SHA256 4b595501d8b3d1e30d2c58560a2ccbb2de20aa619a37e842ad7beeee2e882bc4
MD5 efcccf7d2f5dbdfcefb41f2f51e88a98
BLAKE2b-256 e1fc32fa32d50dc360a153ece89c3dc1cb7c033ab47898ee7011975fa115cc0b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for eduworld-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 475eecbdc39eb581b18ef53e78c64b4bc7dc4fcccb346c9fcf2954db085f639b
MD5 cfbbc93d18b99e7c549fda4aa8c0be8a
BLAKE2b-256 9393e040491b751b27c6a49fe40c395ede46316d8d1dd6634d238880a066f5e6

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