giobar00 / ingsw2022-am33 Goto Github PK
View Code? Open in Web Editor NEWProgetto finale Ingegneria del Software 2022 - Eriantys
Progetto finale Ingegneria del Software 2022 - Eriantys
In order to avoid forgetting parameters, functionalities of method and so on please write the javadoc comment when you create the method (or the class).
Write them also in the test classes.
I see:
public abstract class GameBuilder {
public static Game getGame(GamePreset preset, GameMode mode) {
GameModel model;
if (preset.equals(GamePreset.FOUR))
model = new GameModelTeams();
else
model = new GameModel(preset);
if (mode.equals(GameMode.EXPERT))
return new GameModelExpert(model);
return model;
}
}
fi lese a bit messy:
you call new and,
if (mode.equals(GameMode.EXPERT))
You allocate again...
ps why you use equals for enum?
in @test
void returnBlocksToHerbalist() {
maybe better ti split in more granula tests.
(only a suggestion)
Upload a "compiled" version (PDF or image) version of the Model UML in the /Deliveries folder.
Please commit your README.md including your names, surnames and polimi email
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.