Go to file
notify 162b3af505 Use skill (#25)
* distance & snatch

* distance & snatch - clean

* fix: client.alive_players

* room:askForCardChosen(todo: snatch)

* add skill to players(uncomplete)

* ui of skill btn

* expand pile(not completed)

* Use card2 (#23)

* snatch (todo: owner_map)

* owner_map

* remove too many snatch

* update

* call active skill's functions

* use zhiheng

* Qt6 (#24)

* use qt6

* android compiling

* remove version number of qml import

* correct anti-sql injection; update deprecated code

* add fkparse as submodule

* link fkparse, and write simple functions

* adjust ui

* adjust layout for photos; fix qml warning

* android problem fix (partially)

* move ico

* update copy_assets

* update logic for ok/cancel btn
2022-09-14 13:01:10 +08:00
android Use skill (#25) 2022-09-14 13:01:10 +08:00
doc Room (#4) 2022-03-27 15:12:00 +08:00
fkparse@bbf45faf7d Use skill (#25) 2022-09-14 13:01:10 +08:00
fonts UI-adjust-1 (#20) 2022-05-01 18:37:13 +08:00
image Use skill (#25) 2022-09-14 13:01:10 +08:00
include Add / Remove Player (#2) 2022-03-27 15:12:00 +08:00
lib Use skill (#25) 2022-09-14 13:01:10 +08:00
lua Use skill (#25) 2022-09-14 13:01:10 +08:00
packages Use skill (#25) 2022-09-14 13:01:10 +08:00
qml Use skill (#25) 2022-09-14 13:01:10 +08:00
server Use card (#19) 2022-04-30 15:27:56 +08:00
src Use skill (#25) 2022-09-14 13:01:10 +08:00
.gitignore UI-adjust-1 (#20) 2022-05-01 18:37:13 +08:00
.gitmodules Use skill (#25) 2022-09-14 13:01:10 +08:00
CMakeLists.txt Use skill (#25) 2022-09-14 13:01:10 +08:00
LICENSE Initial import 2022-03-27 15:11:55 +08:00
README.md player:play (#15) 2022-04-04 19:04:55 +08:00

README.md

FreeKill


试图打造一个最适合diy玩家游玩的民间三国杀所有的一切都是为了更好的制作diy而设计的。

项目仍处于啥都没有的阶段。不过我为了整理思路,也写了点文档


如何构建

以Debian11为例首先克隆仓库

$ git clone https://github.com/Notify-ctrl/FreeKill

然后安装编译软件所必需的软件包:

$ sudo apt install qtbase5-dev qtdeclarative5-dev qtmultimedia5-dev qml-module-qtquick2 qml-module-qtquick-controls2 qml-module-qtquick-window2 qml-module-qtquick-layouts qml-module-qtgraphicaleffects cmake swig lua5.4 sqlite3

然后编译运行即可。

$ mkdir build && cd build
$ cmake .. && make
$ cp src/FreeKill ..
$ cd ..
$ ./FreeKill

对于Windows用户建议安装Qt Creator和Qt 5.15.2。必要时自行配置CMake。

然后下载swig并为其配置环境变量即可构建FreeKill。