So I am working on a project to make a realtime game on android with nodejs as my backend. I have read articles on sockets and how to implement simple games like, live tic-tac-toe.While tic-tac-toe has only 2 players mine will have around 5-10 players playing simultaneously in different rooms and all the data should be stored.So the game logic requires me to wait for the input of all the players(will be a number),do a simple computation, and then return the winner and update the scoreboard. Unlike tic tac toe which updates both users with the same data, I will send different data to the losers and different data to the winner.I wanted to ask if something like room creation and having multiple players in multiple rooms playing at once be done using sockets or will I need to implement this is a different way.Also if someone has done something like this previously can you please connect with me on chat or on discord foxtrot17alpha#0108 and guide me at the start of this project.I just want to know if this is possible with nodejs and if yes what other packages or technologies will I be needing. This Is my first big project and I want it to be a good one. Thanks a lot.
Submitted May 22, 2020 at 07:28AM by carnav098
No comments:
Post a Comment