If you were to ask this question in a game dev forum, people probably wouldn't recommend you to look at Java and yet mindustry uses Java and made it work.
I guess something along the lines of JavaScript with Websockets would also work really well and you wouldn't have to worry about building for different platforms. Research some options for JS game engines and get cracking (possibly with copilot, it's not too bad at getting one started).
I think it's entirely feasible for you to have a working prototype before the new year rolls around.
I'm pretty sure the game I've spent the most hours playing over the last few years is written in java - Slay the spire.
Minecraft was originally Java too I think.
Sad that mojang went bankrupt after 1.7.10, though.