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

Uploaded Source

Built Distribution

eduworld-0.0.9-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eduworld-0.0.9.tar.gz
Algorithm Hash digest
SHA256 8a3569c0f1348b44ca502c65154d45a011f0edc14a4707c3daa8203d7d35d88a
MD5 a91c26be87171fc52bbae00b13347aad
BLAKE2b-256 cdad5d9dcd6558665c4d07701bb9e1c30762e9fb53f3c14635353af23c10f825

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for eduworld-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 521578de1236c513325a83e36bd4fcfdb006e1ad1b636c483b84065030c76427
MD5 dbf02c7f61cf0b30c5d786087ca25421
BLAKE2b-256 acfe3e7ad1e4d9dd20ebf752ea3107507d919b13526b883d06a53f21b3cdc262

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