Is there a way to cause google-chrome to quit, from the terminal, besides using killall google-chrome? 
I would like to be able to close it from a script without killing it.


Question: Adding local wireles multiplayer mode to my Android game
Answer: I would consider the requirements of your multiplayer experience. For a quick two week prototype I put together a couple months ago, I was on the ropes about whether or not to support TCP/WiFi connectivity between devices, or simply go with bluetooth. I chose to go with bluetooth due to the reliability of it in comparison with the local network I was dealing with, and the simple data format I was sending (XML). I wrote the bluetooth connectivity using the native android SDK, and was able to get it up and running within a day or two.

Additionally, consider whether or not you will be hosting the game externally, or requiring one of the devices to act as a host. If you plan on having more than a couple of devices connected at once, you may want to consider an external service (or at least extra device) dedicated to managing connections and processing requests.

edit also, bluetooth has very limited physical range, thus that may eliminate it as an option immediately.