A simple snake game prototype using java swing packages