17 lines
377 B
Markdown
17 lines
377 B
Markdown
# satranc.js — tasGucPuani() (satır 26)
|
||
|
||
[← satranc.js](index.md) · [← Master](../../wiki.md)
|
||
|
||
```javascript
|
||
function tasGucPuani(tip)
|
||
{
|
||
if (tip === "P") return 10;
|
||
if (tip === "A") return 30;
|
||
if (tip === "F") return 30;
|
||
if (tip === "K") return 50;
|
||
if (tip === "V") return 90;
|
||
if (tip === "S") return 900;
|
||
return 0;
|
||
}
|
||
```
|