Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiplayer browser game [Java]

Tags:

java

I've been developing a small card game which is called "Tarneeb". The game itself looks like Bridge card game but with different rules. Anyway, i finished the entire game as a standalone desktop application using Java 6. This is a picture of the game. Anyway, i now need to transform that into a web app with multiplayer capabilities, so the users can for an example make a new room and join existing rooms where the game is played. Unfortunately, I have no idea on networking in Java but i searched quite a lot and i found some other Java products that may help me (JavaFX, JSP, GlassFish) but i still couldn't figure out what i exactly needed to accomplish my task. All i need right now is the direction to head to and i will do my research and hopefully learn the new skills needed.

like image 411
Salem Sayed Avatar asked Oct 17 '25 23:10

Salem Sayed


1 Answers

Other answers have already pointed you to some resources.

But the biggest problem you will likely have is that it is usually impossible (or extremely time consuming up to a complete rewrite) to "add" multiplayer capabilities afterwards if you didn't plan the architecture accordingly.

like image 116
Foxfire Avatar answered Oct 20 '25 13:10

Foxfire