Skip to content

Latest commit

 

History

History
27 lines (12 loc) · 620 Bytes

README.md

File metadata and controls

27 lines (12 loc) · 620 Bytes

2048-multiplayer

added server-client gaming for 2048,original project https://github.com/mevdschee/2048.c

firstly, create the executable linux file on the systems you want to play, with the following command

g++ -o 2048.out 2048multiplayer.cpp

then, on one of them,

2048.out server

with this (assuming 2048.out is the executable ) , this system will become your 2048 server

(also you should know the IP of this system, which you can get using ifconfig)

on clients,

2048.out client

then it will ask you to enter the username, and IP address of server.(which you got from ifconfig)