Commit Graph

420 Commits

Author SHA1 Message Date
Notify-ctrl
927c5f479b
gamerule:Turnstart (#12)
* add tag to room

* add switch statement(util.lua)

* using emmylua

* gamerule(..)

* turnOver

* add many events

* stop the room when deleting

Co-authored-by: Notify-ctrl <notify-ctrl@qq.com>
2022-04-02 21:39:44 +08:00
Notify-ctrl
8637356a04
Read lua from client (#11)
* access lua from client

* todo:robot

Co-authored-by: Notify-ctrl <notify-ctrl@qq.com>
2022-04-02 15:55:01 +08:00
Notify-ctrl
c230d675ce
Invoke choice (#10)
* define askforskillinvoke

* states of room

* askForSkillInvoke

* askForChoice

Co-authored-by: Notify-ctrl <notify-ctrl@qq.com>
2022-04-02 15:11:13 +08:00
Notify-ctrl
4e25c032e6
Skill (#9)
* TriggerSkill

* update type comment

* events of phases

* lua annotation

* change style of enums

* clear lua stack

* multi lua_State at server side

* disable addPlayer when room is full or started

* logic:trigger

Co-authored-by: Notify-ctrl <notify-ctrl@qq.com>
2022-04-01 20:51:01 +08:00
Notify-ctrl
daae2466ae print stack when lua error occurs 2022-03-31 17:16:30 +08:00
Notify-ctrl
957fefe881
Cards (#8)
* more comment

* create standard card pack

* create card classes

* freekill -> fk

* fk_ex
2022-03-31 13:29:23 +08:00
Notify-ctrl
a85f510c98 commit 2022-03-30 16:33:56 +08:00
Notify-ctrl
7fd127b849
Request (#7)
* cli

* add timeout for class Room

* request func, roomowner

* request

* corrent stupid Qml/JS

* chooseGenerals

* prepareForStart(part 1)

* fix require grammar
2022-03-30 14:14:40 +08:00
Notify-ctrl
58ea0ca80a
Role & Seat (#6)
* standard generals

* assignrole

* arrangeSeat

* fix bugs
2022-03-28 22:24:30 +08:00
Notify-ctrl
3e4080f2ad
edit profile (#5) 2022-03-27 20:00:29 +08:00
Notify-ctrl
a67175f8eb Room (#4)
* Run room in lua

* handle offline player

* Better toast and other

* delete useless stuff

* todo: edit profile

* use pch
2022-03-27 15:12:00 +08:00
Notify-ctrl
3dc95ebc49 Gamecore (#3)
* create some class

* create some base classes

* fixup

Co-authored-by: Ho-spair <linyuy@163.com>
2022-03-27 15:12:00 +08:00
Notify-ctrl
dea1c40ad8 Update src/CMakeLists.txt 2022-03-27 15:12:00 +08:00
Notify-ctrl
3fb3570fa0 Remove property uid of serverplayer 2022-03-27 15:12:00 +08:00
Notify-ctrl
432a306de0 Add / Remove Player (#2)
* addplayer and removeplayer

* add sqlite3 library and remove comment in library headers

* setup database system
2022-03-27 15:12:00 +08:00
Notify-ctrl
d2315c7533 Basic roomscene (#1)
* create Photo

* Room layout, img, debug
2022-03-27 15:12:00 +08:00
Notify-ctrl
8fb08a8ece changed code style, doc 2022-03-27 15:12:00 +08:00
Notify-ctrl
9ed3f1bf3f update room list 2022-03-27 15:12:00 +08:00
Notify-ctrl
5f175090c0 Create and enter room 2022-03-27 15:12:00 +08:00
Notify-ctrl
6fb0158d39 Initial import
commit

1

GPLv3

commit

commit

commit

commit

commit

commit
2022-03-27 15:11:55 +08:00