How did the Greeks fight on the triremes?

they had a battering ram on the front of the ship that would ram into the enemy's ship until sunk