Can you people help in my laser tag game using raspberry pi? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 2

Can you people help in my laser tag game using raspberry pi?

I'm developing the laser tag kind of combat game using Python. where I'm stuck in data retrieval who got shot by whom? and appending the kill and death score simultaneously in the database.

15th Jan 2018, 4:09 AM
Praveen kumar.N
Praveen kumar.N - avatar
3 Respuestas
+ 1
it is a real life players wearing vests. when you know through IR emitters and receivers. thought of making connections using WiFi. can you answer me now..!! I have a problem of connection between central computer and device on vests
20th Jan 2018, 3:31 PM
Praveen kumar.N
Praveen kumar.N - avatar
0
Is it a virtual game or with real life players wearing vests? How do you know when you are shot? Do you have wireless conections? Is the connection through wifi, bluetooth, radio, ...? The information you have given is too little and vague to give a good answer.
15th Jan 2018, 11:48 AM
spcan
spcan - avatar
0
Just have an Unique Identifier for every laser shooter and every time it shoots it sends the identifier to the vest. When a vest is hit, record on the vest who killed it. Then send to the central (through WiFi or BT) who killed that vest. On the central just keep recording who kills who and thats it. This way you can just have a list of kills occured, and can parse it to know how many kills someone got. Also this allows you to keep a chronological order of the kills.
20th Jan 2018, 4:24 PM
spcan
spcan - avatar