Refactored how fire works and added fireInDirection function
When using randomInput, player fires bullets in a random direction instead of a random position of the map.