The daily-theme was vampire castle. Here's mine.

It doesn't looks like a vampire's castle though. Everything is just too cozy in this game haha.

u/terra2o — 6 days ago

My game runs on Windows XP. It uses PDCurses for the (text) UI, and has a C99 backend. Planning to port to C89 so it runs without trouble on DOS as well

Here is the release of the current latest version on GitHub. I fixed some bugs that made the Windows builds unplayable, they're now gone!! I'm proud to say my game runs on one of the best OSes ever made.

The game is completely open-source. Doesn't have any assets. You can freely modify it and distribute it while keeping it open. See GPLv3 license.

The game tries to simulate everything about owning a Tavern in medieval times. You just have to keep going without going bankrupt. There's AI competition, you have to provide better stuff, etc.

Mods, sorry for the repost. I assumed my post with the bsky link will show a video :( I removed that post to post this one.

u/terra2o — 14 days ago

I just released v0.15.0 of my game, Tavern, and now you can play it on "very old" Windows systems!

Obviously you can play it on other "old" systems as well. I just never tested it.

I started this project to learn C, but I couldn't stop developing it because it's so much fun. I'm trying to truly simulate everything as much as possible and make it realistic. For example, this is the "Citizen" struct:

typedef struct Citizen {
    int age;
    float thirst;
    float wealth;
    float addiction;     /* 0.0 to 1.0 */
    float income;        /* earned per day, replenishes wealth */
    float loyalty;       /* 0.0 to 1.0, attachment to favorite_tavern_id */
    int last_drink_day;  /* day of last visit, -1 if never */
    int favorite_tavern_id; /* index into World.taverns, -1 if none yet */
    float drink_preference[DRINK_COUNT]; /* affinity per drink */
    float health;        /* 0.0 to 1.0 */
    int homeless; /* bool */
    int alive;    /* bool */
} Citizen;

And another very fun thing for me is the fact that this game can run on very old systems. So far, I've only tested Windows XP and Windows Vista. Initially, there was a bug where I couldn't resize the terminal (command prompt) on Windows systems, but now that's fixed with this release.

Other platforms I tested on are: Windows 10, Linux (Fedora), FreeBSD

The code is mostly c99 but I'm porting it to c89 so that I have even less issues playing on older systems. (This is happening very slowly, but newly added code is all c89 unless I forgot to write in c89)

You can probably run this on DOS as well since I can't see why not, you just need PDCurses and a C compiler.

I develop the game on Linux so it's the best there, mac build is never tested because I don't have one.

In the future, I'm planning to add a top-down 2D mini-game where you can collect fruits for wines :D Since being text-only can bore some people (however, it doesn't bore me).

Criticism is very welcome, I'm always looking for ways to improve myself. And there are probably a lot of bad practices in this code.

I hope someone out there enjoys what I did and becomes interested enough to maybe contribute themselves <3 Thanks for reading!!!

github.com
u/terra2o — 23 days ago
▲ 2 r/kde

Kontributions, a plasmoid to see your weekly GitHub contributions.

A small KDE Plasma 6 widget that shows your last 7 days of GitHub contributions, the style is similar to how GitHub does it. Squares with a corner-radius, green if contributed that day.

A note on how this was made

This plasmoid was vibe coded with the help of AI (Claude). The code was reviewed and tested by hand, but if you spot something odd, weird behavior, or a bug, please open an issue and I'll take a look.

Note on why it was made and why it was made the way it is

I don't know how to make KDE Plasma plasmoids. It's not my area of development. I just missed the GitHub contributions extension on GNOME when I switched to KDE, and I wanted to have it here. Seems no one made this before (even if they did, they didn't release it) and I decided to make one even if it's unfortunately vibe-coded.

Link to GitHub repository

u/terra2o — 27 days ago