This is a little game written in Jack for Chapter 9 of The Elements of Computing Systems.
It supports up to 4 players, round-robin style. Each player starts a turn with a full energy bar.
Shooting and moving both use energy. A player's turn ends when she is out of energy.