This is the code that goes along with a Java Game Programming Tutorial that I am following on YouTube.