Commit Graph

13 Commits

Author SHA1 Message Date
04931dfd99
Apply suggestions from code review
Co-authored-by: delvh <dev.lh@web.de>
2020-07-01 18:16:59 +00:00
7c55e049cf
Add ol' JDoc 2020-07-01 19:29:52 +02:00
52a4c876fa
Add new pipeline and other fun stuff 2020-07-01 19:19:50 +02:00
a8908f7e13
Simplify snake drawing and movement calculation 2020-07-01 16:18:59 +02:00
5651ea76b0
Remove some try statements and switches 2020-07-01 16:01:37 +02:00
7ca0a14ea2
Simplify FoodFactory#generateFoodLocation 2020-07-01 14:33:23 +02:00
9131d0e2fd
Simplify FoodFactory#generateFood 2020-07-01 14:29:00 +02:00
c7035ff2c5
Simplified some calculations 2020-06-30 19:29:50 +02:00
ad329447a9
Fix missing ImageIcon for PlayButton and repeated EndScreen Spawning (#3)
* Fix multiple EndScreen Instances spawning

* Removed `Play Again` icon

Co-authored-by: delvh <dev.lh@web.de>
2020-06-26 16:54:31 +02:00
delvh
ab584c187d Provisorically fixed bug resulting in an empty Endscreen
Still, the screen neither shows the Labels or the images
2020-06-18 13:08:57 +02:00
delvh
8ff179a27d
Collision checking for outer bounds works apparentlly solely on Windows, commented out for now (#1)
* Cleaned up project

* Commented display of result-image out

* added TODO in outer-bounds checking in Snake
2020-04-03 10:43:24 +02:00
delvh
46223d60ca Updated missing Javadoc in whole repository
* reformatted whole repository
* fixed bug enabling 180° turnaround
2020-03-11 22:27:30 +01:00
delvh
5e879e5a3d Recovered most code of Snake, state: around v0.8.5 of before v1.0
only thing still not working: collision checking of foods (game crashes
when touching food)

code is mostly equal to previous version, minor improvements had to be
made to ensure functionality
2020-02-28 21:47:09 +01:00