Thank you !
The short answer: the formula of the score is "n of a kind : (n-1) * 10 + kind" + 70 if a straight is detected
The long answer: here's the Gdscript that I wrote doing that: