Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (777)
Games in Android Showcase (231)
games submitted by our members
Games in WIP (856)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Developing a Jackbox-like web-based game. Best practices?  (Read 495 times)
0 Members and 1 Guest are viewing this topic.
Offline redreddinger

Innocent Bystander


Exp: 6 years



« Posted 2018-11-20 23:11:35 »

I need some advice from a better web-developer.

I am making a game similar to Jackbox's Quiplash:

  • A host (whose screen is visible to all players, preferably on a TV) is able to go to a website to start a game.
  • Using a 4-character key, up to 8 players can join.
  • The game gives everyone prompts to answer.
  • Two candidate's responses are voted on by the rest of the party
  • The winner gets a point.
  • The rounds of voting continue, and a winner is chosen

I made a prototype, complete with voting and all the client-side graphics, using Python 3 with a Flask / SocketIO webserver. However, I've started to miss Java's static-typing and class system. Once I ran into multi-threading issues, I decided to switch to Java.

For context, it's been a while since I worked in Java, and that was mostly with games and graphics, not with any networking or web servers.

I would appreciate advice on how to rebuild my server in Java with multi-threading issues in mind.

1) What kind of web server library should I use for real-time communication with the client?

2) How do I design my game-manager in a thread-safe, scalable way?

Thanks.
Offline hadezbladez
« Reply #1 - Posted 2018-11-21 05:47:57 »

Hello there!

I heard java applet is not suitable for many web browser. (including chrome)
If you really can do web browser using java i wouldn't hold you back and that might be very complicated process.
For your question im sorry man i cant answer it. thats as far as i know using java.

there might be some people that have more knowledge than me will answer your question.
So for now you need to pray and hope for that in here or you can just check their old thread in this forum
Pages: [1]
  ignore  |  Print  
 
 

 
hadezbladez (288 views)
2018-11-16 13:46:03

hadezbladez (157 views)
2018-11-16 13:41:33

hadezbladez (289 views)
2018-11-16 13:35:35

hadezbladez (70 views)
2018-11-16 13:32:03

EgonOlsen (2133 views)
2018-06-10 19:43:48

EgonOlsen (2151 views)
2018-06-10 19:43:44

EgonOlsen (1363 views)
2018-06-10 19:43:20

DesertCoockie (1966 views)
2018-05-13 18:23:11

nelsongames (1599 views)
2018-04-24 18:15:36

nelsongames (2247 views)
2018-04-24 18:14:32
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!