The first game I made from scratch when I was in university is called "Gold Digger".
The game is written in Java for an assignment in programming class using only one external library (derby) to store data.
The goal of the game is simple, collect as many gold as fast as possible before the time runs out while avoiding dynamites. Terribly simple to the point that I'm not so proud when I submitted it...
Anyway here it is: