I would like to create an interaction between what is displayed on the computer screen and a smartphone.The idea is that the interface that appears on the smartphone serves as a remote control to the content of what there is on the computer screen (a play on the web, for example.)I think the wireless network is taken into account, but I can not determine how.

On the PC we see a character and on an interface with two arrows smartphone.By clicking on the arrow keys move the character is made.