banana-slugs-2014/javascript-racer-2-back-end-challenge — pull request #1 by chriswoodrich (2014-02-26 01:40:00+00:00)
Title: Irene Chris

Here is our implementation of JS Racer using Sinatra.

We tried to use vanilla JS for most of it, but we wanted to send the game data to the server, and had to use jQuery's serializeArray() method and post via jQuery's Ajax method.

One thing we still need to solve is being able to set the player names based on the user input because we're hardcoding the names as "player1" and "player2." Any suggestions about how to make that work would be appreciated.

![](http://gifrific.com/wp-content/uploads/2012/08/Horse-Exercise-Ball-Fail.gif)