sanmill
sanmill is a free, powerful uci-like n men’s morris program with cui, flutter gui and qt gui.
nine men’s morris is a strategy board game for two players dating at least to the roman empire. the game is also known as nine-man morris, mill, mills, the mill game, merels, merrills, merelles, marelles, morelles, and ninepenny marl in english.
files
this distribution of sanmill consists of the following files:
- readme.md, the file you are currently reading.
- copying.txt, a text file containing the gnu general public license version 3.
- src, a subdirectory containing the full source code, including a makefile that can be used to compile sanmill cui on unix-like systems.
- src/ui/flutter_app, a subdirectory containing a flutter frontend.
- src/ui/qt, a subdirectory containing a qt frontend.
how to build
cui
sanmill cui has support for 32 or 64-bit cpus, certain hardware instructions, big-endian machines such as power pc, and other platforms.
on unix-like systems, it should be easy to compile sanmill directly from the source code with the included makefile in the folder src
. in general it is recommended to run make help
to see a list of make targets with corresponding descriptions.
cd src
make help
make build arch=x86-64-modern
when reporting an issue or a bug, please tell us which version and compiler you used to create your executable. these information can be found by typing the following commands in a console:
./sanmill compiler
qt application
if you have started using ubuntu or any ubuntu-based linux distribution, you must install qt by running the following command as root:
sudo apt-get install qt5-default qtmultimedia5-dev qtcreator
use qt creator to open millgame.pro
, or use visual studio to open millgame.sln
to build qt application.
flutter app
run ./flutter-init.sh
, copy src/ui/flutter_app/android/key.properties.example
to src/ui/flutter_app/android/key.properties
, modify it, and then use android studio or visual studio code to open src/ui/flutter_app
to build flutter app.
understanding the code base and participating in the project
sanmill’s improvement over the last couple of years has been a great community effort. there are a few ways to help contribute to its growth.
improving the code
if you want to help improve the code, there are several valuable resources:
- in this wiki, many techniques used in sanmill are explained with a lot of background information.
- the latest source can always be found on .
- discussions about sanmill take place in the discussions.
Comments are closed.