The scoring logic for offline and online games is the same.
The points would be calculated like this: for example, (15 + 18 + 5) - 4 = 34.