Skip to content

About

AI V language port of the popular Mod3 variation from KDE kpatience

Resources

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

mod3_solitaire

Screenshot 2026-07-23 at 8 17 26 AM

AI generated V language port of the popular Mod3 variation from KDE kpatience

Compiling

Follow instructions on vlang.io website to install the v compiler and toolchain for your platform

mkdir Development
cd Development
git clone https://github.com/jeffsauer/mod3_solitaire
cd mod3_solitaire
v -d sokol_wayland mod3.v

Then, just run the executable:

./mod3

Or, download the pre-compiled AppImage and install.

NOTES

When compiled, the card images and sounds are embedded into the executable. So, the executable should be self contained.

However, on macOS, I haven't been able to figure out how to statically link in the garbage collection library. Best I could come up with is to install the Boehm gargage collector via homebrew, and then make sure homebrew's lib directory is in your library path:

brew install bdw-gc
export DYLD_LIBRARY_PATH="/opt/homebrew/lib:$DYLD_LIBRARY_PATH"

This is only needed if your are simply distributing the executable to other machines. If you build on that machine, the v toolchain already includes the needed libraries.

About

AI V language port of the popular Mod3 variation from KDE kpatience

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages