This commit is contained in:
gababababibbo 2025-06-09 10:44:26 +02:00
commit cb458e9165
23 changed files with 101 additions and 0 deletions

View file

@ -0,0 +1,7 @@
{
"java.project.sourcePaths": ["src"],
"java.project.outputPath": "bin",
"java.project.referencedLibraries": [
"lib/**/*.jar"
]
}

View file

@ -0,0 +1,18 @@
## Getting Started
Welcome to the VS Code Java world. Here is a guideline to help you get started to write Java code in Visual Studio Code.
## Folder Structure
The workspace contains two folders by default, where:
- `src`: the folder to maintain sources
- `lib`: the folder to maintain dependencies
Meanwhile, the compiled output files will be generated in the `bin` folder by default.
> If you want to customize the folder structure, open `.vscode/settings.json` and update the related settings there.
## Dependency Management
The `JAVA PROJECTS` view allows you to manage your dependencies. More details can be found [here](https://github.com/microsoft/vscode-java-dependency#manage-dependencies).

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,3 @@
public class Casella {
}

View file

@ -0,0 +1,3 @@
public class Cavallo {
}

View file

@ -0,0 +1,49 @@
public class Giocatore {
private String nome;
private int sbleuri;
private int tessereSbleuri;
private boolean cavaliere;
//ho pensato di renderlo un boolean perché disponibile una volta per tappa, poi la richiesta se è tifo o inveimento sarà nel metodo
private boolean tesseraTifoInveimento;
Giocatore(String nome){
this.nome = nome;
this.sbleuri = 3;
tessereSbleuri = 0;
cavaliere = false;
tesseraTifoInveimento = true;
}
public String getNome() {
return nome;
}
public int getSbleuri() {
return sbleuri;
}
public int getTessereSbleuri() {
return tessereSbleuri;
}
public boolean isCavaliere() {
return cavaliere;
}
public boolean isTesseraTifoInveimento() {
return tesseraTifoInveimento;
}
public void setNome(String nome) {
this.nome = nome;
}
public void setSbleuri(int x){
this.sbleuri = x;
}
public void setTessereSbleuri(int tessereSbleuri) {
this.tessereSbleuri = tessereSbleuri;
}
public void setCavaliere(boolean cavaliere) {
this.cavaliere = cavaliere;
}
public void setTesseraTifoInveimento(boolean tesseraTifoInveimento) {
this.tesseraTifoInveimento = tesseraTifoInveimento;
}
}

View file

@ -0,0 +1,3 @@
public class Input {
}

View file

@ -0,0 +1,3 @@
public class Main {
}

View file

@ -0,0 +1,3 @@
public class Mappa {
}

View file

@ -0,0 +1,3 @@
public class Output {
}

View file

@ -0,0 +1,3 @@
public class Partita {
}

View file

@ -0,0 +1,3 @@
public class Pila {
}

View file

@ -0,0 +1,3 @@
public class Tessera {
}