Releases: jnnsrctr/2Darts
Releases · jnnsrctr/2Darts
v1.5.2
Final, submitted version
Changelog
Archer
- Changed
+= 1
to++
where applicable
Arrow
- Sets
speed=0
if arrow hits the wall and the ground simultaneously
CanvasBG
- Init
score1
,score2
set to 0 instead of fetching fromsuper
- In
fly()
, the frequency is now controlled viasuper
instead of const 20 ms clearField()
Rectangle hitarrows now only draws fromtargettop
instead of const 0
Terminal
- Changed UI message to show that only a & b are checked, not all inputs
Various
- Added or fixed comments
- Fixed typos
- Changed package details in
package.bluej
v1.5
Changelog
Terminal
startGame()
now with boolean restarts
selects quickstart (no inputs anymore, inputq
is omitted)- If game is running and
s
is selected, the game can be reset. Does not work in devmode (will be intercepted) - Game isn't running yet but
n
is pressed shows message "Press s to start" - "developer mode" is renamed "DEV MODE"
- Changed input messages (e.g. explanations instead of variable names)
canvasWidth
will be requested beforecanvasHeight
howTo()
compressed to 2 lines (was 3)
Game
- New default minimum speed
speedMin
of 10 (was 7)
Various
- Fixed headers
- Changed package details in
package.bluej
v1.4
Attention, this changelog is incomplete.
Changelog
- Comments
- Text changes
- Fixes bugs #2, #5, #7, #8, #9
- New default values for speed & angle
- New intercept for e, if the game wasnt even running
- Randomized calculation for arrow now in constructor instead of parameters
- Added units for super.variables
- New position of the scores
- New text for the scores (was different in Projektaufgabe.pdf)
- Text more often in one line only
- Inputs always after text (print instead of println)
- New global var: version
- New global var: rounds
- New function quickstart (previously cheat „joe“)
- Changed default canvas height (was 709px, now 700px)
- Changed various super variables to non-final
v1.3
Changelog
Game
- Changed default canvas height (was 700px, now 709px)
Terminal
startGame()
only works if game isn't running yet (fixes bug #1)- Next player via
n
only if game is running (fixes bug #6) error()
,errorValue()
,welcomeText()
andhowTo()
moved in the code and compressed
CanvasBG
- Renamed vars
Score1
,Score2
toPoints1
,Points2
- Method
printBG()
was split toprintWall()
andprintTarget()
- Method
printTarget()
was split toprintBlack()
,printGreen()
,printRed()
- Removed boolean
wallhit
infly()
Arrow
- Removed traces of
bouncing-balls
- New methods
fly()
andeval()
Archer
- Renamed method
Archer.eraseArcher
toArcher.erase
Various
- Archer, Arrow, CanvasBG, Points, Terminal: Added comments or translated them to English
- Changed header texts, now english
- Fixed typos
- Changed package details in
package.bluej
v1.2
Changelog
- Renamed from "2D-Darts" to "2Darts"
- Removed old/unused code
- Changed default canvas height (was 709px, now 700px)
- Changed header texts
- New message "Game over."
- New message for wrong input: "You may try again."
- Added smileys to points won/lost message
- Fixed typos
- Changed package details in
package.bluej