I think everyone will play Doudizhu, but I don’t know if you have played Doudizhu on the command line. This project is a command line landlord game based on Netty. After get off work or in your spare time, you can play landlord on the command line unscrupulously~
Visit the commonly used fish fishing artifact, thieves like it!
installation
Download and package (this project requires some Java foundation, you need to ensure that your machine has a JVM environment)
git clone https://github.com/ainilili/ratel.git
cd ratel
mvn install package
Next, the operation landlords-client
and landlords-server
the target
folder Jar package:
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
Games start...
Game introduction
You can create a private server, or add a public network server 39.105.65.8
(the -h
parameter specifies the corresponding server)
Play cards
This is the result of sorting from 3 to the big king according to the rule from small to big
If you come up with a straight
You can enter 7890j
or789tj
If you come up with king fried
You can enter sx
This is the alias mapping rule for all cards
If you don’t want to play a card this round, you can enter
pass
If you want to exit the game this round, you can enter
exit
摸鱼神器,快去玩耍吧。
Address: https://gitee.com/ainilili/ratel
逛逛GitHub交流群已成立
喜欢本篇文章,在看、转发是最大的支持。公众号运营至今,离不开小伙伴们的支持。为了给小伙伴们提供一个互相交流的平台,逛逛特地开通了官方交流群。点击 -> 进群 <- 即可进群或者关注公众号逛逛Github后获取进群通道。
推荐阅读
1. 我是如何给妹子优化 Windows 的?
2. 3.2 万 Star 的算法可视化项目火了
3. 一个人竟然撸了一个网易云音乐云村
4. 漫画:为什么C语言永不过时?