Skip to main content

An educational game on the Raspberry Pi that teaches children about graph algorithms — DuckQuest prototype

Project description

Duck Quest

PyPI License Status Code style: Black

Duck Quest is an educational board game designed to teach children algorithmic thinking. Kids help a duck find the shortest path through a graph—mimicking how Dijkstra's algorithm works—via real buttons and LED strips powered by a Raspberry Pi.

Prerequisites

⚠️ Warning: This project is designed for Raspberry Pi. If you run on another Linux system, some features (like GPIO) may not work.

Features

  • Graph-based Gameplay:
    • Kids interact with a real graph made of buttons (nodes) and LED strips (edges).
    • Shortest path challenges using real-world logic and physical interaction.
  • Visual Feedback:
    • LED strip colors represent edge weights.
    • Cyan highlights the selected path.
  • Modular Architecture:
    • Includes hardware checkers for buttons and LEDs.
    • Rasbberry Pi compatibility checks.
    • Full test suite for simulating the game logic.
  • Educational Focus:
    • Develops algorithmic thinking at an early age.
    • Interactive STEM learning.

Installation

  1. To install Duck Quest, simply run:
    pip install duckquest
    
  2. Once installed, launch the game with:
    duck-quest
    

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Source Code

The source code is available here.

Credits

Contact

For any questions or feedback, feel free to contact me:

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

duckquest-0.5.0.tar.gz (13.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

duckquest-0.5.0-py3-none-any.whl (13.7 MB view details)

Uploaded Python 3

File details

Details for the file duckquest-0.5.0.tar.gz.

File metadata

  • Download URL: duckquest-0.5.0.tar.gz
  • Upload date:
  • Size: 13.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for duckquest-0.5.0.tar.gz
Algorithm Hash digest
SHA256 0ad0392aabc9b1d065b32ad2c17989060c10c91f72de2a12c537dfe32a8fec36
MD5 6f3b47e31bb712c4781f8b405b91f922
BLAKE2b-256 b55c3ada413b9219a7bb82586ddc98161ddcd11648f7cc58b4fef6911e2d5ea8

See more details on using hashes here.

File details

Details for the file duckquest-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: duckquest-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 13.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for duckquest-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a00ce91a933f551e5f77c61f5c2ee1f73b8c28605607fe584d4f85b418a373b3
MD5 d8971eab01ce49ee1d727dab83ac24ab
BLAKE2b-256 9f462b5a0cc27c1131a6973628806636d989d78b3ae8006db007dc7264c2ffac

See more details on using hashes here.

Supported by

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