GithubHelp home page GithubHelp logo

hhy5277 / ratel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ainilili/ratel

0.0 1.0 0.0 822 KB

A fighting landlord program that can be played on the command line

License: Apache License 2.0

Java 99.95% Shell 0.05%

ratel's Introduction

What Is This?

This is a game against landlords

The difference is

It is done from the command line

How To Begin?

Maven packaging

git clone https://github.com/ainilili/ratel.git
cd ratel
mvn install package

Then, Perform landlords-client and landlords-server jars folder inside the target directory

java -jar landlords-server/target/landlords-server-#{version}.jar -p 1024
java -jar landlords-client/target/landlords-client-#{version}.jar -p 1024 -h 127.0.0.1

Start a fun game !

Looking For Players

Join the qq group 948365095

How To Play?

You can create a server by yourself, or you can connect to public server with ip 39.105.65.8 by your client !

demo

Choose Poker

┌──┐──┐──┐──┐──┐──┐──┐──┐──┐──┐──┐──┐──┐──┐──┐
│3 |4 |5 |6 |7 |8 |9 |10|J |Q |K |A |2 |S |X |
│♦ |♦ |♦ |♦ |♦ |♦ |♦ |♦ |♦ |♦ |♦ |♦ |♦ |  |  |
└──┘──┘──┘──┘──┘──┘──┘──┘──┘──┘──┘──┘──┘──┘──┘

Above is the result of sorting the 3 to big ACES in small to big order

If you want to choose Link

┌──┐──┐──┐──┐──┐
│7 |8 |9 |10|J |
│♦ |♦ |♦ |♦ |♦ |
└──┘──┘──┘──┘──┘

You can enter 7890j or 789tj

If you want to choose The Joker Bomb

┌──┐──┐
│S |X |
│  |  |
└──┘──┘

You can enter sx

This is a table for poker alias

poker-> │3 |4 |5 |6 |7 |8 |9 |10   |J  |Q  |K  |A    |2 |S  |X  |
alias-> │3 |4 |5 |6 |7 |8 |9 |T t 0|J j|Q q|K k|A a 1|2 |S s|X x|
  • If you don't want to play in a turn, you can enter pass
  • If you want to quit during a round, you can enter exit

Play the rules

Here's the retel backed poker combination

3
sx
33
333
3334
3333
34567
33344
334455
333345
33344456
33334455
3334445566
333344445678
3333444455667788

Update

End

  • Serverlist.json is the current server list, If your server is currently deployed with the latest version of the server and Shared with everyone, you can submit it to us through PR!
  • If you have good code, you are welcome to submit it to us and we will incorporate good code
  • If you find some bugs in use, please mention issue to us
  • Ratel designs cross-platform and welcomes client rewrite in other languages
  • Contact us by email [email protected]

ratel's People

Contributors

abbychau avatar ainilili avatar

Watchers

 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.