A Game with Cellular Automata
Play Traffic lights online
Download .apk for android
"Traffic Lights" originally called "Semaphore", was invented by Alan Parr.
In a usual game, opponents alternate clicking squares on an m x n board and by doing so, progress squares forward (empty, green, yellow, red). The board begins empty and once a square is red, it cannot be changed. The players race to make a row, column, or diagonal of three consecutive squares of the same color.
In this implementation, we play on a 3 x 4 board.
It is also interesting to search for the maximum number of clicks that can be made to a board before the game ends. Visit my GitHub repository reverse-traffic-lights for more information on that.