Multiplayer Browser Game [Java]

I am developing a small card game called Tarneeb. The game itself looks like a Bridge card game, but with different rules. Anyway, I ended the whole game as a standalone desktop application using Java 6. This is a picturein Game. In any case, now I need to convert this to a web application with multi-user capabilities, so users can, for example, create a new room and join the existing rooms where they are playing. Unfortunately, I have no idea about networking in Java, but I searched a lot and I found some other Java products that can help me (JavaFX, JSP, GlassFish), but I still could not figure out what I needed To fulfill my task, All I need now is a direction that I need to go, and I will do my research and, hopefully, learn new necessary skills.

+3
source share
7 answers

Other answers have already pointed to some resources.

, , , , , , , ( ) "" , .

+4

, - , - , Cometd, HTTP- . web- (, , "" ), .

+1

, , .

-? ? -? -, ?

. , , RMI, , , .

, ., -, - . , (X) HTML, JavaScript - Java, JSP, JSF Struts. , , , - , .

+1

- . , , , . , , .

Java-? ( ), .

0

-. , , , JSP/Javascript , JavaFX. JavaFX ( , JSP/Javascript, - , ​​= D) , , JSP/Javascript . , JavaFX - -. JavaFX, 50% .

JavaFX

0

Java NIO, , , ... , , . , , , . . , , , ( SelectorKey) , " ". / . . , ( TCP, UDP ). - (TCP/UDP/, ethernet), - .

Also! Pay attention to the material of HTML5 websites. It is wonderful!

0
source

Source: https://habr.com/ru/post/1720171/


All Articles