Have students implement a web-based driving game in JavaScript to pick up classmates, who appear as 2D avatars, within Google Earth and drop them off at their homes to show students that arrays and objects are applicable to real-world problems.

  • Using Google Maps and Google Earth’s APIs, students can create this game in which they drive around their hometown or college campus using their keyboard.
    • The goal of picking up and dropping off their students provides a fun motivation for working within these APIs.
  • For the full assignment, visit Stanford’s nifty assignment page.