Truffle-Swine Keeper was written in 2000 for Windows and Linux by Hans Kopp.
The main feature of Truffle-Swine Keeper is its solver. The solver uses techniques from two earlier programs ("Programmer's Minesweeper" by Ramsdell and "Sledgehammer" by Williams) but takes a new approach by computing mine probabilities in arrays. Kopp wrote the solver first before later writing the game. Truffle-Swine Keeper uses the same gameplay as Windows Minesweeper with the same 3 levels (Beginner with 10 mines, Advanced with 40 mines, Expert with 99 mines), highscores, flags, questionmarks and chording.
You are an owner of a pig that is trained to search for truffles. Your pig is very good at searching for truffles, but once it stands on a field that contains truffles, it immediatly eats these truffles and refuses to search any longer. Fortunatly, the pig 'tells' you how many truffles are in the neighborhood of the swine (you can see this because the pig gets exited when there are truffles nearby). Thus your goal is to find all fields that are containing truffles without letting the pig touch a field that actually contains a truffle. The game is played exactly as other Minesweeper versions.
The game comes with source code to compile for Windows or Linux:
Windows 98/NT with WTL using MSVC - Fully supported with advanced UI.
Windows 98/NT with Qt using MSVC - Compiles with UI.
Windows 98/NT using Cygwin - Compiles but there is no UI.
Linux with Qt - Fully supported with advanced UI.
KDE 1.0 - Build has some errors but the UI mostly works.
KDE 2.0 - Build has some errors but the UI mostly works.
BeOS - A "very basic" version that can be run but not installed.
GLUT 3.7 with OpenGL using MSVC or Mesa - A "minimal" version
PTC 1.0.0 using MSVC or GCC - Expert mode only with no highscores.
Special thanks to Branden Aldridge for compiling the Windows (WTL) version in 2020.
Version History
A list of all known versions sorted by platform then version. Email admin@ if you have more! See the Downloads section for available files.
Linux
0.0.1
Initial version.
Win32
0.0.1
Initial version.
Linux
0.0.2
Added beta BeOS version and code for Highscores.
Win32
0.0.2
Added beta BeOS version and code for Highscores.
Linux
0.0.3
Added regression tests and tested compiling for KDE.
Win32
0.0.3
Added regression tests and tested compiling for KDE.
Linux
0.0.4
Added history mechanism to Windows version.
Win32
0.0.4
Added history mechanism to Windows version.
Linux
0.0.5
Updated AlgoDoc.txt.
Win32
0.0.5
Updated AlgoDoc.txt.
Linux
0.1.0
First click is now safe and you can press [ESC] to stop solver.
Win32
0.1.0
First click is now safe and you can press [ESC] to stop solver.
Linux
0.1.1
Fixed bug with the Smiley face.
Win32
0.1.1
Fixed bug with the Smiley face.
Linux
0.1.2
Compiles with Qt under Windows & Linux.
Win32
0.1.2
Compiles with Qt under Windows & Linux.
Pictures
Screenshots are sorted by platform then version.
Truffle-Swine Keeper 0.0.3 - Solver on Windows 98
Truffle-Swine Keeper 0.1.2 - Lost game on Windows 7 (WTL)
Truffle-Swine Keeper 0.1.2 - Solver on Windows 7 (WTL)
Truffle-Swine Keeper 0.1.2 - Options on Windows 7 (WTL)
Truffle-Swine Keeper 0.1.2 - Highscores on Windows 7 (WTL)
Truffle-Swine Keeper 0.1.2 - About box on Windows 7 (WTL)