This package should work with Linux / macOS / Windows but was only tested on Windows and a little bit on macOS.
And yes, you can play most games with it... 😉
npm i -g jsremotejsremote- optional
-p PORT/--port PORT
Now open http://HOST_IP_ADDRESS:PORT/ on your remote device and choose a mode to control your host.
There are 2 modes to control a host:
Mouse- default on Desktop devicesTouch- default on Mobile devices