GitXplorerGitXplorer
d

Snake

public
2 stars
0 forks
1 issues

Commits

List of commits on branch develop.
Unverified
ad2870ce1c93e8ab74308a0af400b4213531d811

Bump maven-compiler-plugin from 3.10.0 to 3.10.1

ddependabot[bot] committed 3 years ago
Unverified
b16e97f8321ee5d97dc39bd89ffa7f267114d94e

Bump maven-compiler-plugin from 3.9.0 to 3.10.0

ddependabot[bot] committed 3 years ago
Unverified
eba9fde8d38632392d18418da5d4dc444059b375

Bump maven-compiler-plugin from 3.8.1 to 3.9.0

ddependabot[bot] committed 3 years ago
Unverified
c1f58c19f4e0062762125759b659ebeec22be11f

Upgrade to GitHub-native Dependabot

ddependabot-preview[bot] committed 4 years ago
Unverified
966e40d601df96bd9778500b97e957c71121cca4

Bump maven-compiler-plugin from 3.8.0 to 3.8.1

ddependabot-preview[bot] committed 4 years ago
Verified
3fe0bb72da09f5ae447ae34a0bd02383e392bb54

Update README.md

ddelvh committed 5 years ago

README

The README file for this repository.

Snake

My advanced Hello World program is a version of the old game Snake.

Features

  • normal playing experience of Snake but hardware-accelerated
  • 5 different fruits that can be eaten to enlarge the Snake
  • theoretically Start- and Endscreen, currently mostly unused
  • theoretically visual display whether a result is good or bad, commented out for now as it does not appear to work as expected

Classes

  • Snake:
    • stores the body parts, their position and the general direction of the Snake
    • checks, whether the Snake touches itself, the outer bounds or food
  • Main:
    • the class where public static void main(String[] args){} is located
    • stores the GameWindow used
  • GameWindow:
    • displays all visual components used in the game
    • stores the Snake object
  • FoodFactory:
    • generates new Food
  • other classes in the ui-package:
    • as the name suggests, defines the visual appearance before and after games

JAR of the final version

If you follow this link and click on release "Snake - Rattlesnake version", you can download the runnable JAR of how the project currently looks like.