Giter Club home page Giter Club logo

server's Introduction

Ratel-Online

Go Reference

命令行在线多人棋牌游戏!支持斗地主,跑得快,UNO,麻将等模式!

客户端

社区

玩法介绍

模式

  • Classic: 经典版斗地主模式
  • LaiZi: 癞子版斗地主模式
  • Skill: 癞子版技能大招模式
  • RunFast: 跑得快模式
  • Uno: Uno模式
  • Mahjong: 麻将模式

斗地主类规则

游戏人数2~6人不等,超过3人2副牌,超过5人3副牌,规则参考欢乐斗地主。

出牌时,直接输入想出的牌型,例如3~A顺子:34567890jqka,单10:0, 对2:22,王炸:sx

癞子模式下同样,缺失的牌会自动使用癞子牌代替,例如当前牌型是*7 6 6 5,输入6665时会自动使用癞子牌*7来代替缺失的6。

更多例子:

  • 4个10:0000
  • 王炸:sx
  • 3~A顺子:34567890jqka
  • 3带1:3334
  • 飞机:jjjqqq34

跑得快规则

游戏人数3人开局,规则参考欢乐斗地主的跑得快

出牌时,能够打起的牌必须出

三带二,四带三,二连对,这些是与斗地主不同之处

非标准牌只能在最后出,比如 3334(三带一) 只能只剩下这四张牌的时候出(四带二也同理)

更多例子:

  • 3带2:000j8
  • 4带3:00004j8
  • 4个10:0000
  • 3~A顺子:34567890jqka
  • 连队:3344
  • 飞机:jjjqqq3457

Uno规则

具体参考: https://zh.m.wikipedia.org/zh-tw/UNO

麻将规则

具体规则有待补充

演示

视频教程:https://www.bilibili.com/video/BV16Y411b7BD

demo

指令

全局指令:

  • v:刷新可用房间列表/查看房间成员/查看其它玩家游戏状态
  • e:退出/返回

房间指令:

  • s:房间内开始游戏
  • set ds on: 开启不洗牌模式-
  • set ct off: 关闭聊天
  • set ds off: 关闭不洗牌模式
  • set sk on: 开启技能模式
  • set sk off: 关闭技能模式
  • set lz on: 开启癞子模式
  • set lz off: 关闭癞子模式
  • set pwd xxxx:设置密码,例如密码为"xxxx"
  • set pwd off:取消密码
  • set pn 6: 设置房间人数上限,例如最大6个人(默认为3人)
  • 其余的会转为聊天内容

游戏指令:

  • p:不出
  • 其余的会转为聊天内容

技能大招

开启技能模式以后,玩家会随机被分配以下技能中的一个,主回合触发:

  • 我要色色:其余玩家沉迷其中,趁机偷掉了他们的最牛的牌
  • 火眼金睛:看穿对手的手牌
  • 改换家门:手牌重新分配
  • 破斧沉舟:只留下5张最强的牌
  • 大幻想家:最小的一张牌变成了癞子
  • 两极反转: 随机与一名玩家调换手牌
  • 追亡逐北:主回合,多获得一次出牌机会
  • 时空裂缝:其余玩家出牌时间减半
  • 996:所有对手强制获得9,9,6三张牌
  • 添砖加瓦:从弃牌池中随机抽取两张牌返还给所有对手

server's People

Contributors

ainilili avatar feel-easy avatar mlmdflr avatar eldersjavas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.