Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 11
here's a tutorial on how to do that using socket. You can use raw node ( http ) but that will be a drawback and very tedious. https://medium.com/@projectyang/simple-multiplayer-game-with-socket-io-tutorial-part-one-setup-and-movement-ee202024f0ef
4th Aug 2019, 4:49 AM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 8
yes you can, you should probably install socket.io, its a node package socket.io enables real-time, bidirectional and event-based communication. https://socket.io/
4th Aug 2019, 4:39 AM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 5
Coder yes you should use socket.io, I have created ludo, tic tac toe and connect 4 using it.
4th Aug 2019, 3:52 PM
code learner
code learner - avatar
+ 5
https://github.com/0ya-sh0/tic-tac-toe-m/ it was a collab project, i did not use socket io rooms, i handled those games myself
5th Aug 2019, 3:42 AM
code learner
code learner - avatar
+ 4
Coder I am not an expert in this area, so am not personally able to answer your question.
4th Aug 2019, 1:14 PM
Sonic
Sonic - avatar
+ 4
yes i will share GitHub link soon
5th Aug 2019, 3:06 AM
code learner
code learner - avatar
+ 1
Morning bro please how can i publish the Apps that can used in any Android or any devices I want to publish my Apss to become pupolar
26th Oct 2019, 8:42 AM
Abdulhamid Abdullahi
Abdulhamid Abdullahi - avatar