Learning three.js by developing a simple game