Player-player Chess in ruby on rails