Giter Site home page Giter Site logo

landlord's Introduction

landlord

项目介绍

GO 实现的斗地主游戏,游戏代码规划兼容多中棋牌游戏,暂时只是先斗地主游戏

软件架构

使用go语言构建 包管理工具使用dep

安装教程

  1. git clone https://www.github.com/wqtapp/landlord
  2. go run main.go
  3. 浏览器开三个窗口localhost:8888,模拟游戏

使用说明

  1. 只使用默认生成的玩家,从第一个登陆玩家开始,三个一组进行游戏,没有用户登录系统和计算系统
  2. 叫地主采用叫地主和抢地主模式,不是叫3分模式
  3. 无人叫地主将重新发牌
  4. 支持叫地主倒计时和出牌倒计时
  5. 支持出炸弹自动翻倍
  6. 支持倒计时结束自动出牌,优先不拆拍原则
  7. 支持复杂牌型比如333444555KKK,3333444455667788等所有复杂但合理的牌型

注意事项

1.用goland调试的话,请直接打开项目目录,不要打开项目的上级目录,会导致路由不到html页面而报404 page not found

参与贡献

  1. Fork 本项目
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

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.