This tutorial walks you through implementing a 2D scrolling game in JavaScript.
The closest thing there is to a Nobel Prize in mathematics is the Fields medal.