Add initial implementation of Fantacalcio application
This commit is contained in:
Executable
+78
@@ -0,0 +1,78 @@
|
||||
# Formati file .json
|
||||
|
||||
## Formato giocatore (giocatori.json)
|
||||
```json
|
||||
{
|
||||
"string->[numero_giocatore]": {
|
||||
"nome": "string->[nome]",
|
||||
"cognome": "string->[cognome]",
|
||||
"soprannome": "string->[soprannome]",
|
||||
"ruolo": "string->[ruolo]",
|
||||
"isDestro": "boolean->[true/false]",
|
||||
"partiteGiocate": "int->[numero partite giocate]",
|
||||
"assist": "int->[numero assist]",
|
||||
"goal": "int->[numero goal]"
|
||||
},
|
||||
"10 (esempio)": {
|
||||
"nome": "Test",
|
||||
"cognome": "Giocatore",
|
||||
"soprannome": "Il Goat",
|
||||
"ruolo": "Portiere",
|
||||
"isDestro": true,
|
||||
"partiteGiocate": 5,
|
||||
"assist": 2,
|
||||
"goal": 3
|
||||
}
|
||||
}
|
||||
```
|
||||
formato foto: ``` <nome>_<cognome>.png ``` (tutto minuscolo)
|
||||
##
|
||||
|
||||
## Formato squadra (squadre.json)
|
||||
```json
|
||||
{
|
||||
"string->[squadraX](x = string->[numero squadra])": [
|
||||
"array[int]->[numero giocatori]"
|
||||
],
|
||||
"squadra0 (esempio)": [
|
||||
1, 5, 19, 31
|
||||
]
|
||||
}
|
||||
```
|
||||
##
|
||||
|
||||
## Formato voti (voti.json)
|
||||
|
||||
```json
|
||||
{
|
||||
"string->[numero_giocatore]": [
|
||||
"array[int->[voti 2=>10]"
|
||||
],
|
||||
"10 (esempio)": [
|
||||
5, 9, 7.5
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
---
|
||||
---
|
||||
---
|
||||
|
||||
# Formati file .csv
|
||||
|
||||
## Formato giocatore (giocatori.csv)
|
||||
### Esempio:
|
||||
```csv
|
||||
numero, nome, cognome, soprannome, ruolo, isDestro, partiteGiocate, assist, goal, assenze
|
||||
10, Test, Giocatore, Il Goat, Portiere, true, 5, 2, 3 , 1
|
||||
```
|
||||
formato foto: ``` <nome>_<cognome>.png ``` (tutto minuscolo)
|
||||
#
|
||||
|
||||
## Formato voti (voti.csv)
|
||||
|
||||
```csv
|
||||
numero, voti
|
||||
10, 5.5, 2.5, 0, 4.0
|
||||
```
|
||||
Reference in New Issue
Block a user