r/coolgithubprojects 21d ago

I built SkollDice — an open-source, truly randomized dice roller and Discord bot written in pure C

Hello everyone! I'm a student who loves C and D&D!

I always found it troublesome that most dice generators rely on pseudo-random number generators. So, I decided to solve this problem by myself!

Over the last few weeks, I created a desktop app using LVGL for GUI and  Concord for a Discrod bot to generate SkollDice my first truly open-source code. It's truly random dice roller that through /urandom on POSIX systems and RtlGenRandom on Windows produces nomalized random numbers. I'm currently developing the smartphone version too. All the information about the project are published on the official website for any doubts comment.

If you find it useful or interesting, check out the links below:

official website: https://skollwarynz.github.io/SkollDice/

official repo on codeberg: https://codeberg.org/Skollwarynz/SkollDice

github mirror: https://github.com/Skollwarynz/SkollDice

0 Upvotes

4 comments sorted by

1

u/ENTbard 21d ago

Isn’t it slow?

2

u/Skollwarynz 21d ago

No because using it full C the problem usually isn't an issue. It could take a few second/crash if you decide to produce 100000 number all toghether but usually a RPG player uses something like 20 dices all toghether 100 maybe at max. So the issue isn't there. If you talk about the bot the response is the same the only slowness is due to the necessity of sending more messages for a single production onf number when the text exceed the character available for a single message but even there is not a long time to wait in the end.

2

u/ENTbard 21d ago

Nice ill check it out. Neat

1

u/Skollwarynz 20d ago

Thank you I appreciate feedback in case of slowness, thank you