Using Networking to Send Clients A Map, they then have to load it.

Hi,

So there is a server and clients.

Client connects to server >
Server sends client a map <
Client loads map >

I need someone to point me in the correct direction, I am not using an libraries such as LibGDX, I’ve programmed my engine using Javas basics (Canvas, game loop, object handler…)

Here are the things I’m worried about:

  • The player can crack the program and change the loaded map given by the server. How do I circumvent this from happening?

  • What format of the data will the map sent back to the client be? (i.e. it wouldn’t make sense to send back a text file)

Thanks!