Three-dimensional snake game written in python