add controller methods, fix a bug in game.rb #update_board and updated routes.rb