You can use SUM() to add values, and you can use GROUP BY to get results for groups of records:
SELECT name, sum(points) AS totalpoints
FROM table
GROUP BY name;
this will get records in groups that have the same 'name' and it will add then points for each of those groups and return them.