Git Product home page Git Product logo

javafx-ratel-client's Introduction

介绍

本项目是一个使用 javafx + netty 技术构建的一个桌面应用, 是对ratel应用命令行客户端的扩展,为ratel应用提供可视化界面操作方式。

系统架构

  • 使用netty构建和ratel服务端的通讯
  • 使用javafx构建GUI界面

快速启动

前提

  • jdk
    本项目是一个java应用,所以运行需要java环境,前往oracle下载最新版本jdk进行安装

  • maven
    本项目由maven构建,构建本应用需要先安装maven,前往apache maven下载最新版本maven进行安装

安装

git clone https://github.com/marmot-z/javafx-ratel-client.git
cd javafx-ratel-client
mvn install package

启动javafx客户端

java -jar target\javafx-ratel-client-#{version}.jar

使用

  1. 选择服务器地址连接
    连接服务器
  2. 输入昵称
    输入昵称
  3. 选择模式
    选择模式
  4. 选择房间
    选择房间
  5. 开始游戏
    开始游戏

TODO List

  • PVE模式
  • PVP模式
  • 优化界面
  • 页面切换
  • 挂机检测

贡献与反馈

  • 如果您想贡献代码,非常欢迎提PR,我们将会合并优秀的代码
  • 如果你发现此客户端的bug或有任何疑问,欢迎提issue
  • 我的联系方式([email protected]

参考

javafx-ratel-client's People

Contributors

marmot-z avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

javafx-ratel-client's Issues

ClientSide is Server Object

ClientSide is Server Object
you dont have to deserialize the channel data to ClientSide, must always is wrong
so throw "服务器版本过低"

当前 目录下找不到 javafx-ratel-client-{version}.jar 包

java.lang.NullPointerException
at priv.zxw.ratel.landlords.client.javafx.listener.ClientListenerUtils.loadClasses(ClientListenerUtils.java:112)
at priv.zxw.ratel.landlords.client.javafx.listener.ClientListenerUtils.findListener(ClientListenerUtils.java:92)
at priv.zxw.ratel.landlords.client.javafx.listener.ClientListenerUtils.(ClientListenerUtils.java:50)
at priv.zxw.ratel.landlords.client.javafx.NettyClient.(NettyClient.java:33)
at priv.zxw.ratel.landlords.client.javafx.SimpleClient.start(SimpleClient.java:39)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$8(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$7(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)

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.