Fixed Snake issues and implemented multiplayer functionality