Go to file
Calcitem 726c8a4223 perfect: Integrate Perfect AI to Qt (WIP) 2021-01-23 12:51:26 +08:00
.github/workflows flutter.yml: 修改当 Git 浅克隆时生成版本号的方式为依据编译编号或者日期 2020-12-13 11:58:36 +08:00
ci ci: Add run-win32-qt-build.bat 2019-09-05 23:46:08 +08:00
include Add RULE_50 macro 2021-01-14 01:29:25 +08:00
resources refactor: giveup 更名为 resign 2020-09-20 21:52:41 +08:00
src perfect: Integrate Perfect AI to Qt (WIP) 2021-01-23 12:51:26 +08:00
tests tests: 为 monkey.sh 增加 #!/bin/bash 2020-12-12 01:48:45 +08:00
.gitignore .gitignore: Ignore perfect database 2021-01-18 00:49:50 +08:00
AUTHORS perfect: Format source code and update copyright 2021-01-18 01:08:02 +08:00
Copying.txt license: Change Licence to GPL 3.0 2019-11-03 13:00:45 +08:00
MillGame.ico Remove NineChess folder 2019-09-04 22:36:53 +08:00
Readme.md Update Readme.md and pubspec.yaml 2020-12-22 01:45:43 +08:00
appveyor.yml Fix Kritika notes 2020-03-21 00:25:45 +08:00
deploy.sh deploy.sh: Do not commit and only push 2020-12-21 23:51:46 +08:00
gamewindow.qrc refactor: giveup 更名为 resign 2020-09-20 21:52:41 +08:00
gamewindow.ui qt: Change display language from Chinese to English 2021-01-01 02:53:56 +08:00
millgame-qt_zh_CN.ts lang: Add mill-game-qt_zh_CN.ts (WIP) 2021-01-01 19:30:32 +08:00
millgame.pro Remove unsued TRAINING_MODE code 2021-01-02 14:07:11 +08:00
millgame.rc copyright: 更新版权年份为 2019-2020 2020-01-29 22:25:34 +08:00
millgame.sln perfect: Import Muehle and weaselLibrary 2021-01-18 00:31:48 +08:00
millgame.vcxproj perfect: Integrate Perfect AI to Qt (WIP) 2021-01-23 12:51:26 +08:00
millgame.vcxproj.filters perfect: Integrate Perfect AI to Qt (WIP) 2021-01-23 12:51:26 +08:00
programr.md Add Programmer's Guide 2021-01-09 01:58:36 +08:00
version.sh flutter.yml: 修改当 Git 浅克隆时生成版本号的方式为依据编译编号或者日期 2020-12-13 11:58:36 +08:00

Readme.md

Overview

Build Status Codacy Badge

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, a subdirectory containing a Flutter frontend.

  • src/ui/qt, a subdirectory containing a Qt frontend.

Compiling Sanmill CUI yourself from the sources

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 informations can be found by typing the following commands in a console:

    ./sanmill compiler

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 GitHub.

  • Discussions about Sanmill take place in the Discussions.

Terms of use

Sanmill is free, and distributed under the GNU General Public License version 3 (GPL v3). Essentially, this means you are free to do almost exactly what you want with the program, including distributing it among your friends, making it available for download from your website, selling it (either by itself or as part of some bigger software package), or using it as the starting point for a software project of your own.

The only real limitation is that whenever you distribute Sanmill in some way, you must always include the full source code, or a pointer to where the source code can be found. If you make any changes to the source code, these changes must also be made available under the GPL.

For full details, read the copy of the GPL v3 found in the file named Copying.txt.