Skip to content

Releases: jnnsrctr/2Darts

v1.5.2

09 Aug 07:34
Compare
Choose a tag to compare

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 from super
  • In fly(), the frequency is now controlled via super instead of const 20 ms
  • clearField() Rectangle hitarrows now only draws from targettop 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

09 Aug 07:30
Compare
Choose a tag to compare

Changelog

Terminal

  • startGame() now with boolean restart
  • s selects quickstart (no inputs anymore, input q 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 before canvasHeight
  • 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

09 Aug 07:28
Compare
Choose a tag to compare

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

09 Aug 07:26
Compare
Choose a tag to compare

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() and howTo() moved in the code and compressed

CanvasBG

  • Renamed vars Score1, Score2 to Points1, Points2
  • Method printBG() was split to printWall() and printTarget()
  • Method printTarget() was split to printBlack(), printGreen(), printRed()
  • Removed boolean wallhit in fly()

Arrow

  • Removed traces of bouncing-balls
  • New methods fly() and eval()

Archer

  • Renamed method Archer.eraseArcher to Archer.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

09 Aug 07:24
Compare
Choose a tag to compare

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

v1.1

09 Aug 07:21
Compare
Choose a tag to compare
v1.1 Pre-release
Pre-release

No changelog available.
Fixes bug #3.