Back end (chess server) using Ruby on Rails