An algorithm for this is needed. Do we want them to spawn in fixed locations, or should it be random? Is there a maximum limit to the number of players?
Take a look at this illustration of a board below (X represents empty square, numbers each represent a snake). This could easily be extended to accommodate for more players, as long as the board size is increased.
X X X X X X X
X 3 X X X 2 X
X X X X X X X
X X X X X X X
X 1 X X X 4 X
X X X X X X X
An algorithm for this is needed. Do we want them to spawn in fixed locations, or should it be random? Is there a maximum limit to the number of players?
Take a look at this illustration of a board below (X represents empty square, numbers each represent a snake). This could easily be extended to accommodate for more players, as long as the board size is increased.
X X X X X X X X 3 X X X 2 X X X X X X X X X X X X X X X X 1 X X X 4 X X X X X X X X