#Four player Raspberry Pi KotH

*I'm imagining the challenge being a KotH question, and collectively working on the controller that will be required to make it possible to post that question. Then anyone who wants to run a different raspberry pi KotH in future can start from the same controller.*

- Four [Raspberry Pi][raspberry pi] computers are available at the home of the question poster*.
- Let's call an answer to the KotH question a *bot*.
- Four bots compete in each round of the competition.
- Each bot plays from a different raspberry pi, sending moves to the host computer.

This means each bot can continue running in between turns without having to share resources with the other bots. A bot that wants to use up all of the available memory and CPU time during another bot's move won't crash other bots or the controller. A bot that doesn't provide a move in time simply doesn't move (or repeatedly non-responsive bots can be killed off as in other KotHs, depending on the game).

The specific game that we choose for the first RP-KotH doesn't really matter. I have a simple [board game/pixel war concept][flit] that I'm working on in the sandbox which might be suitable.

###Automation

Ideally the controller would be able to reset the raspberry pis to an initial state, and then select the next four bots to compete and send one to each raspberry pi and start the round. This way each round does not need to be manually set up and a whole tournament can be run by the controller. This may involve preloading each raspberry pi with a mini-controller and a copy of all the bots, so a signal from the main controller tells the mini controller which of the saved bots to run.

Since a raspberry pi runs from an SD card, a memory image with all the required bots and mini controller could be generated and simply written to as many SD cards as necessary.

---

_*The question can be posted and hosted by someone who happens to have four raspberry pis, or I can buy them and post the question myself. I currently have one pi which can be used for testing, and if this suggestion is selected I am happy to buy more._


  [raspberry pi]: https://www.raspberrypi.org/
  [flit]: https://codegolf.meta.stackexchange.com/a/5116/20283 "Flit"