timhutton / geofun

Exploring location-based fun
2 stars 0 forks source link

Find your friends: Way to collect boxes #13

Open timhutton opened 7 years ago

timhutton commented 7 years ago

Currently boxes don't do anything. We would like something to happen when we reach them.

rawles commented 7 years ago

We could have a server call which means 'collect anything near me'?

When we were discussing this originally, I thought that the server would be doing the legwork of some of the more complicated games - for example, rather than reveal the locations of players, it would report the length of a square that some players appeared to be trying to form. I think part of the development coming up is to get a few more calls on the server to assist the client.

In this case, I don't think the client need download all the objects in the world, check if any are near, then remove them - the server should just have a call saying 'return all the objects near me and remove them from the game'.

I guess in the future we'd want to get away from revealing the precise location of each user, and instead define a call for both what information is needed to play the game (e.g. distance from nearby players rather than absolute locations) and to what extent the players are being successful (e.g. what shapes are you making with others).