jverbraeken / doodlejump Goto Github PK
View Code? Open in Web Editor NEWA Doodle Jump clone in Java with several new features
Home Page: http://jverbraeken.github.io/DoodleJump/
A Doodle Jump clone in Java with several new features
Home Page: http://jverbraeken.github.io/DoodleJump/
Ik snap dat het handig is om switch case statements te gebruiken hier,
maar het kan gevaarlijk zijn ivm testen die getest moeten worden...
Mijn advies is een default te bouwen die een error genereerd.
Should we make a background class, instead of every scene having its own background sprite ?
Add an animation of a bouncing Doodle to the start screen.
There is no JavaDoc in the Camera
and ICamera
class while there should be...
Even when it is no longer visible...
Currently the class Calc uses a double locked singleton.
This is an unsafe implementation.
(despite the fact that it was suggested in the lectures)
Sources:
http://www.javaworld.com/article/2074979/java-concurrency/double-checked-locking--clever--but-broken.html
https://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html
It should be part of the scene World as it was before
Currently you can not see your score upon dying. It would be nice to see it (plus perhaps if you made it into the highscores)
This should either not be the case, or they should move along with the moving platform (the same goes for breaking platforms)
Some added a TODO
to the spring class noting that performing other tasks in a getter is unexpected behaviour. Should we remove it? If yes, how?
We should get rid of the unused variables in the World.java
file ๐
Completely unnecessary variable and it can cause bugs because the function setScene MUST be used instead of this variable to switch between scenes correctly
Is the + 1
in RANDOM.nextInt(upper - lower) + lower + 1;
in the Calc.java
class really necessary? See code
It should be part of the scene World as it was before
We should implement a feature in the renderer to easily rotate image so that:
We should clean up the Doodle class a bit, it is missing some JavaDoc. It has some unnused attributes and it is unclear to me what the purpose of the method w/o implementationpublic void collidesWith(IDoodle doodle)
should do...
Also collide
is not a good name for this method
public void collide(IJumpable jumpable) {
this.vSpeed = jumpable.getBoost();
}
Onze TA had verzocht om minder interfaces te gebruiken, en de interface van constants is denk ik wel overbodig aangezien deze methods aanbied die veel te specifiek zijn voor een interface...
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.