Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (797)
Games in Android Showcase (234)
games submitted by our members
Games in WIP (864)
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 5238 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?

Offline hadezbladez

Senior Devvie

Medals: 5
Projects: 1
Exp: 2 years

Insert Personal Text

« 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 (3629 views)
2018-11-16 13:46:03

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

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

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

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

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

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

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

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

nelsongames (4726 views)
2018-04-24 18:14:32
Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

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 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‑
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!