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;

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

Interactive mode

from eduworld.simple 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.simple 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.14.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

eduworld-0.0.14-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eduworld-0.0.14.tar.gz
Algorithm Hash digest
SHA256 170105b98c56a7bfa6f187b0ab1b382b3b6534489a667819271b36fcfddc1248
MD5 7cad137a851b2cdc2f21a1982abbbaba
BLAKE2b-256 1efc991da521c00bdc7d3e124f344d61c7a299c2f9d6c61620c9f15214ea5480

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for eduworld-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 a039b096713492b3c786edcca2d00eb0f8af4fb993755a5f2a503c97b0f52113
MD5 ff082401a29f3341fc999ce1d4b60295
BLAKE2b-256 dac34002e7f5a65df76bc72b4d9115c77d0bd7effe2c3234c6cfd40684a6c5a1

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