- Assignment: Class project to create your own multiplayer network game.
- Solution: Created a two player snake game..
- After use: Developed a GUI technique to split screen up into a grid, utilized in many future projects.
WCC Advanced Java Concepts course (CPS261), class assignment to individually create a multiplayer network game. We were given an instance of a network server program to connect to and interface with and I had chosen to create this snake game. The first thing I tackled was the grid system, splitting up the game screen by pixels to use Points to reference the game squares. This allowed for keeping track of the positioning of the snakes and mice in an arraylist of points. You win by reaching a set length, running into yourself cuts your length at the point of contanct, and you will lose running into your opponent's snake.