A realtime multiplayer zombie survival game created in Go. Go kill zombies with 4 different weapons, knife, handgun, rifle and shotgun. But be aware, there are four hardcore types of zombies, the slowpoke, the speedy gonzales, the exploder and the regular booring one. Remember to place exploding barrels and pickup upgrades in the crates.
- Singleplayer
- Multiplayer on LAN
- Multiplayer on server (no server hosted at the current time)
- 4 different zombies
- 4 different weapons
- Exploding barrels
- Loot boxes for upgrades
W
- Move upA
- Move leftS
- Move downD
- Move rightB
- Place an exploding barrelSpace
- Shoot/melee1-4
- Change weapon
This game can be played on every OS.
This project relies on dep for depedency management. Please make sure it is installed before proceeding.
To start developing on this project, clone the repository and install the dependencies.
git clone https://github.com/gustavfjorder/pixel-head.git
dep ensure
To run the game engine, please see pixel for requirements. If you are on Windows please see this page too.
Probably due to issues with the tuple space goSpace
macOS cannot play in a multiplayer game.
Other clients cannot connect to the macOS space either.
Giving follow error message:
ErrReceiveMessage: read tcp4 172.20.10.5:51575->172.20.10.14:31416: read: connection reset by peer
panic:
github.com/gustavfjorder/pixel-head/vendor/github.com/pspaces/gospace/space:
Space(tcp://172.20.10.14:31416/lounge).Put("request", "b9gsu95nc8e4vq10chi0"): operation on this space failed.
Playing the game with too many server requests will lock the tuple space for a some time. It automatically resolves the deadlock and continues for 10-20 seconds.