SkillAgentSearch skills...

Pkklib

pkklib - A free and open development kit for the clockworkPi PicoCalc

Install / Use

/learn @redbug26/Pkklib
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

PKKlib - PiKoKalc Library

PKKlib (PiKoKalc Library) is a lightweight C library designed to simplify game development on the Clockwork Pi PicoCalc, a tiny programmable calculator/computer based on the Raspberry Pi Pico.

The library provides a set of tools and functions to manage graphics, input, timing, and basic game mechanics, allowing you to quickly create and run games directly on the device.


📦 Main Features

  • ✨ Easy graphics and text rendering
  • 🎮 Simplified input handling
  • 🎨 Sprite support for tile-based graphics (soon)
  • ⏱ Built-in game loop and frame timing
  • 🔉 Sound support
  • 📁 Utility functions to speed up development

⚙️ Requirements

  • A Clockwork Pi PicoCalc
  • The PicoCalc firmware pico_multi_booter
  • A working C development environment with pico-sdk

🚀 Installation

For detailed installation instructions, please refer to the installation guide.


📚 Documentation

Full documentation is under development and will be available in the docs/ folder. In the meantime, check out the examples in the next section for usage demonstrations.


🎮 Powered by the PKKlib

Sample projet from Crazy Piri using the PKKlib:

Tetris GB Clone by Crazy Piri (us)

Screenshot

These projects are known to be based on the PKKlib:

???


❓ FAQ

1. What devices are compatible with PKKlib?

PKKlib is specifically designed for the Clockwork Pi PicoCalc, a device based on the Raspberry Pi Pico.

2. Can I use PKKlib with other firmware?

The library is build for the PicoCalc firmware pico_multi_booter. It is possible to use it with the stock firmware by removing the pico_set_linker_script line that references the memmap file in the CMakeLists.txt.

3. Where can I find example projects using PKKlib?

You can refer to the "🎮 Powered by the PKKlib" section for information on projects built with PKKlib.

4. How do I report a bug or request a feature?

You can report issues or request features via the GitHub Issues page.

5. How do I exit an application built with PKKlib?

To quit an application running on the PicoCalc with PKKlib, simply press Ctrl + Caps Lock.


🙏 Credits & Acknowledgments

  • Special thanks to adwuard for creating the Picocalc_SD_Boot firmware, which this library is designed to work with.
  • Thanks to the Clockwork Pi PicoCalc community for their enthusiasm and contributions.
  • This project was heavily inspired by SGDK by Stéphane Dallongeville, a development kit for the Sega Mega Drive.

📝 TODO

  • [ ] Remove STL dependencies (C++ files) as the C++ runtime increases the binary size by 290 KB!
  • [ ] Add sprite support for tile-based graphics
  • [ ] Complete full documentation in the docs/ folder
  • [ ] Add more example projects using PKKlib
  • [ ] Improve sound support and add more audio features

🧪 License

PKKlib is released under the MIT License — free to use, modify, and distribute.

Related Skills

View on GitHub
GitHub Stars19
CategoryDevelopment
Updated6mo ago
Forks2

Languages

C++

Security Score

82/100

Audited on Oct 1, 2025

No findings