Client-server ajax implementation of Reversi using Play framework