Shooter code tested

with edge case code (tested)