GithubHelp home page GithubHelp logo

graphwar's People

Contributors

catabriga avatar germangb avatar isibboi avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

graphwar's Issues

Make a release

Hi!
I'm packaging Graphwar for Arch Linux. I need to denote a version for the package.

Could you please annotate a release in the git repo, e.g. by creating a v1.0 tag on the current master?

Increase Windows Size? Edited Constant.java didn't seem to scale all things up

I want to play on a bigger screen so I edited a Constant file that seems to contain windows size config and recompile it,
IT WORKED ๐Ÿ‘
but the problem is Everything didn't scale up accordingly to the window size (I'm not a java programmer)
so I think Constant for other UI elements lies in other parts, but I don't know where to look at

Web Version

I saw the other issue, and like to say that it isn't true that you can't run a java applet in modern browsers. I used to help maintain a Minecraft java web port. There is a JVM that compiles to javascript called TeaVM. https://teavm.org/

How to execute?

Downloaded this from http://www.graphwar.com/ as the .jar file http://www.graphwar.com/graphwar.jar:
When I open it, it just opens as a folder to be extracted

Screencast.2022-02-23.14.43.48.mp4

system: ubuntu 20.04

I also tried

`$ cd Downloads

$ java -jar ./graphwar.jar XXX.XXX.XXX.XXX

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2630)
at java.base/java.lang.Runtime.load0(Runtime.java:768)
at java.base/java.lang.System.load(System.java:1837)
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2442)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2498)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2694)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2648)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
at java.base/java.lang.System.loadLibrary(System.java:1873)
at java.desktop/java.awt.Toolkit$3.run(Toolkit.java:1399)
at java.desktop/java.awt.Toolkit$3.run(Toolkit.java:1397)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.desktop/java.awt.Toolkit.loadLibraries(Toolkit.java:1396)
at java.desktop/java.awt.Toolkit.(Toolkit.java:1429)
at java.desktop/java.awt.Component.(Component.java:621)
`

Running server

Hi,
I'm trying to run window-less game server on my server. I run globalServer.jar, but first I had changed public static String GLOBAL_IP to my servers address and recompiled everything. Everything works until player is trying to add game-room.

Global server started Connection accepted! New name: okikk Received from 1: 108&okikk%27s+Room&6112 java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at GraphServer.Connection.<init>(Connection.java:42) at GlobalServer.GlobalServer.tryConnection(GlobalServer.java:192) at GlobalServer.GlobalServer.handleMessage(GlobalServer.java:281) at GlobalServer.LobbyPlayer.run(LobbyPlayer.java:171) at java.lang.Thread.run(Unknown Source) Received from 1: 105&0&1

Could not connect

Hey,
so apperaently my game doesnt connect anymore:
image
Everytime I click on 'Join' the game freezes for like 2 seconds then there is the error message 'could not connect'.

  • I restarted my PC
  • I re-installed graphwar
  • updated to newest Java version

nothing helped

Any Ideas what else I can do?

Dockerize the Graphwar server

Hi, I'm working on dockerizing the graphwar server architecture so that each Room runs inside its own container. To deploy a graphwar server you would first do:

$ docker-compose up

That would create a global server and a single room. Say you want to extend it to 8 rooms instead

$ docker-compose scale room=8

Would that be of your interest?

Playable as web application?

This looks amazing! Needing to execute a jar file with java is somewhat of a hassle though. I don't know java, is it possible to turn thus into a web application that people could play in their web browsers?

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.