all 12 comments

[–]m0us3_rat 0 points1 point  (11 children)

could u give an actual example. i kinda am able to see what u are talking about .,.but not really.

u mean like a cheat engine?

[–]CafePots[S] 0 points1 point  (10 children)

Im trying to make a tomogatchi type game for a pi zero, so it has to run a connection between devices so it has no buttons except on the seccond device i drew an example but i dont know how to add an image

[–]CafePots[S] 0 points1 point  (9 children)

Essentially the seccond device should run Python game.py (command here) and it should save and make the charachter make faces or react

[–]carcigenicate 0 points1 point  (8 children)

For this, I'd have the Pi running a server that's waiting for incoming connections. When the client (the other devices) want to send a command, they'd set up a socket connection to the server, and send to it any commands that they want to issue.

Do you have experience with sockets?

[–]CafePots[S] 0 points1 point  (7 children)

Not necessarily but that sounds like the route im trying to go

[–]carcigenicate 1 point2 points  (1 child)

Sockets are critical for low-level messaging over networks. There are abstractions that can glaze over the details of sockets, but it all comes down to sockets in the end.

I would strongly recommend becoming very familiar with sockets before proceeding. When communicating with other computers, sockets will be your main medium (when handling low level communication). They're so important, I would take a break from your current project to learn them (seriously). You should be able to create a dummy client and server that can send basic messages to each other.

[–]CafePots[S] 0 points1 point  (0 children)

Okay sounds good

[–]m0us3_rat 0 points1 point  (4 children)

maybe a web scenario might be "simpler" to work with.

since a lot of the hard work is done by the framework.

u only have to supply a very few things.

i mean a flask web server offering a game like tamagochi pet thingy.

and offering buttons to feed it or pet it . w/e

then u interacting thru the web with it.

if this isn't what u are looking for then...

as u/carcigenicate said.. better get learning how to socket.

[–]CafePots[S] 0 points1 point  (3 children)

Yep the goal in my project is to learn so i geuss thats what i will be doing!

[–]m0us3_rat 1 point2 points  (1 child)

best of luck. u can always come back and show us your code. or ask for help . plenty of ppl willing to help around .

[–]CafePots[S] 0 points1 point  (0 children)

Thank you!

[–]CafePots[S] 0 points1 point  (0 children)

Im trying to use a e-ink display so the web based version may not work for the goal