├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── account.sql ├── common ├── config.go ├── generate.go ├── model.go ├── poker.go ├── protocol.go ├── rule.go └── rule.json ├── conf └── app.conf ├── controllers ├── Index.go ├── Login.go ├── Logout.go └── Register.go ├── db └── landlord.db ├── go.mod ├── go.sum ├── main.exe ├── main ├── config.go ├── init.go ├── main.go └── rule.json ├── router └── router.go ├── rule.json ├── service ├── client.go ├── request.go ├── robot.go ├── room.go └── table.go ├── static ├── 1.png ├── 2.png ├── 3.png ├── audio │ ├── bg_game.ogg │ ├── bg_room.mp3 │ ├── deal.mp3 │ ├── end_lose.mp3 │ ├── end_win.mp3 │ ├── f_score_0.mp3 │ ├── f_score_1.mp3 │ ├── f_score_2.mp3 │ ├── f_score_3.mp3 │ ├── m_score_0.mp3 │ ├── m_score_1.mp3 │ ├── m_score_2.mp3 │ └── m_score_3.mp3 ├── generator.html ├── i │ ├── bg.png │ ├── btn.json │ ├── btn.png │ ├── btn │ │ ├── alarm.png │ │ ├── btn.tps │ │ ├── exit.png │ │ ├── hint.png │ │ ├── icon_default.png │ │ ├── icon_farmer.png │ │ ├── icon_landlord.png │ │ ├── pass.png │ │ ├── quick.png │ │ ├── register.png │ │ ├── score_0.png │ │ ├── score_1.png │ │ ├── score_2.png │ │ ├── score_3.png │ │ ├── setting.png │ │ ├── shot.png │ │ ├── start.png │ │ └── table.png │ ├── poker.png │ └── preload.png ├── js │ ├── boot.js │ ├── game.js │ ├── generator.js │ ├── net.js │ ├── phaser-input.js │ ├── phaser-input.min.js │ ├── phaser.min.js │ ├── player.js │ ├── player_net.js │ └── rule.js ├── rule.json └── s │ └── bg3.ogg └── templates └── poker.html /.gitattributes: -------------------------------------------------------------------------------- 1 | *.js linguist-language=go -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/README.md -------------------------------------------------------------------------------- /account.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/account.sql -------------------------------------------------------------------------------- /common/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/common/config.go -------------------------------------------------------------------------------- /common/generate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/common/generate.go -------------------------------------------------------------------------------- /common/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/common/model.go -------------------------------------------------------------------------------- /common/poker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/common/poker.go -------------------------------------------------------------------------------- /common/protocol.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/common/protocol.go -------------------------------------------------------------------------------- /common/rule.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/common/rule.go -------------------------------------------------------------------------------- /common/rule.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/common/rule.json -------------------------------------------------------------------------------- /conf/app.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/conf/app.conf -------------------------------------------------------------------------------- /controllers/Index.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/controllers/Index.go -------------------------------------------------------------------------------- /controllers/Login.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/controllers/Login.go -------------------------------------------------------------------------------- /controllers/Logout.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/controllers/Logout.go -------------------------------------------------------------------------------- /controllers/Register.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/controllers/Register.go -------------------------------------------------------------------------------- /db/landlord.db: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/go.sum -------------------------------------------------------------------------------- /main.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/main.exe -------------------------------------------------------------------------------- /main/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/main/config.go -------------------------------------------------------------------------------- /main/init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/main/init.go -------------------------------------------------------------------------------- /main/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/main/main.go -------------------------------------------------------------------------------- /main/rule.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/main/rule.json -------------------------------------------------------------------------------- /router/router.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/router/router.go -------------------------------------------------------------------------------- /rule.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/rule.json -------------------------------------------------------------------------------- /service/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/service/client.go -------------------------------------------------------------------------------- /service/request.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/service/request.go -------------------------------------------------------------------------------- /service/robot.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/service/robot.go -------------------------------------------------------------------------------- /service/room.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/service/room.go -------------------------------------------------------------------------------- /service/table.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/service/table.go -------------------------------------------------------------------------------- /static/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/1.png -------------------------------------------------------------------------------- /static/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/2.png -------------------------------------------------------------------------------- /static/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/3.png -------------------------------------------------------------------------------- /static/audio/bg_game.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/audio/bg_game.ogg -------------------------------------------------------------------------------- /static/audio/bg_room.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/audio/bg_room.mp3 -------------------------------------------------------------------------------- /static/audio/deal.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/audio/deal.mp3 -------------------------------------------------------------------------------- /static/audio/end_lose.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/audio/end_lose.mp3 -------------------------------------------------------------------------------- /static/audio/end_win.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/audio/end_win.mp3 -------------------------------------------------------------------------------- /static/audio/f_score_0.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/audio/f_score_0.mp3 -------------------------------------------------------------------------------- /static/audio/f_score_1.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/audio/f_score_1.mp3 -------------------------------------------------------------------------------- /static/audio/f_score_2.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/audio/f_score_2.mp3 -------------------------------------------------------------------------------- /static/audio/f_score_3.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/audio/f_score_3.mp3 -------------------------------------------------------------------------------- /static/audio/m_score_0.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/audio/m_score_0.mp3 -------------------------------------------------------------------------------- /static/audio/m_score_1.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/audio/m_score_1.mp3 -------------------------------------------------------------------------------- /static/audio/m_score_2.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/audio/m_score_2.mp3 -------------------------------------------------------------------------------- /static/audio/m_score_3.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/audio/m_score_3.mp3 -------------------------------------------------------------------------------- /static/generator.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/generator.html -------------------------------------------------------------------------------- /static/i/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/bg.png -------------------------------------------------------------------------------- /static/i/btn.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn.json -------------------------------------------------------------------------------- /static/i/btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn.png -------------------------------------------------------------------------------- /static/i/btn/alarm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn/alarm.png -------------------------------------------------------------------------------- /static/i/btn/btn.tps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn/btn.tps -------------------------------------------------------------------------------- /static/i/btn/exit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn/exit.png -------------------------------------------------------------------------------- /static/i/btn/hint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn/hint.png -------------------------------------------------------------------------------- /static/i/btn/icon_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn/icon_default.png -------------------------------------------------------------------------------- /static/i/btn/icon_farmer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn/icon_farmer.png -------------------------------------------------------------------------------- /static/i/btn/icon_landlord.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn/icon_landlord.png -------------------------------------------------------------------------------- /static/i/btn/pass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn/pass.png -------------------------------------------------------------------------------- /static/i/btn/quick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn/quick.png -------------------------------------------------------------------------------- /static/i/btn/register.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn/register.png -------------------------------------------------------------------------------- /static/i/btn/score_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn/score_0.png -------------------------------------------------------------------------------- /static/i/btn/score_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn/score_1.png -------------------------------------------------------------------------------- /static/i/btn/score_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn/score_2.png -------------------------------------------------------------------------------- /static/i/btn/score_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn/score_3.png -------------------------------------------------------------------------------- /static/i/btn/setting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn/setting.png -------------------------------------------------------------------------------- /static/i/btn/shot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn/shot.png -------------------------------------------------------------------------------- /static/i/btn/start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn/start.png -------------------------------------------------------------------------------- /static/i/btn/table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/btn/table.png -------------------------------------------------------------------------------- /static/i/poker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/poker.png -------------------------------------------------------------------------------- /static/i/preload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/i/preload.png -------------------------------------------------------------------------------- /static/js/boot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/js/boot.js -------------------------------------------------------------------------------- /static/js/game.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/js/game.js -------------------------------------------------------------------------------- /static/js/generator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/js/generator.js -------------------------------------------------------------------------------- /static/js/net.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/js/net.js -------------------------------------------------------------------------------- /static/js/phaser-input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/js/phaser-input.js -------------------------------------------------------------------------------- /static/js/phaser-input.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/js/phaser-input.min.js -------------------------------------------------------------------------------- /static/js/phaser.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/js/phaser.min.js -------------------------------------------------------------------------------- /static/js/player.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/js/player.js -------------------------------------------------------------------------------- /static/js/player_net.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/js/player_net.js -------------------------------------------------------------------------------- /static/js/rule.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/js/rule.js -------------------------------------------------------------------------------- /static/rule.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/rule.json -------------------------------------------------------------------------------- /static/s/bg3.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/static/s/bg3.ogg -------------------------------------------------------------------------------- /templates/poker.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dwg255/landlord/HEAD/templates/poker.html --------------------------------------------------------------------------------