2D Mobile HTML5 Game made in Unity (one level)

This project is about creating a 2D game for the mobile devices. We will supply the artwork is, so only code and placement is needed. The outcome should be one fully functional level made in Unity 4.3 (or higher) with a 2D workspace. Code can be C#, but preferably JavaScript. The finished project should contain a working HTML5 game for mobile devices and the Unity project files.

Game mechanics:

The game type is simple marble game, using tilt for the controls. A player should get a ball/marble from point A to B. There are to types of collisions: hit object and restart/ hit objects and bounces away (as described in the image). The Cops in the image would need a simple AI (walking around in random directions).

A scoring mechanism is needed as well, it should be based on required time. The scoresystem should use a Database connection/php for sending and receive data. The system receives username and sends scores, one game one score, no totals.

Attachment:

Inside the red circle is the player you control with tilt mechanics. The objects marked with a grey overlay are the collisions. The cops are the only ones from which the player is Game Over when the ball touches them. The green circle marks the finish of the level.