diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-03-25 13:12:49 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-03-25 13:12:49 +0100 |
| commit | 01b49f4b85cd5a84c48f9da0ebd4fcda20f2e97e (patch) | |
| tree | d53e25df4c77ddc534cc0bd112f494139d35c7aa | |
| parent | d46b83b8f07d3ddbb9ea7ea4ca8339ea15128477 (diff) | |
| download | snake-01b49f4b85cd5a84c48f9da0ebd4fcda20f2e97e.tar.gz snake-01b49f4b85cd5a84c48f9da0ebd4fcda20f2e97e.zip | |
add make target to download the GraphicsAndGames files
| -rw-r--r-- | Makefile | 7 | ||||
| -rw-r--r-- | README.md | 7 |
2 files changed, 10 insertions, 4 deletions
@@ -5,9 +5,14 @@ JAVA_OBJ = $(JAVA_SRC:.java=.class) javac $< .PHONY: snake -snake: $(JAVA_OBJ) +snake: Zeichenfenster.java $(JAVA_OBJ) java Snake +Zeichenfenster.java: + curl -O "https://informatikschulbuch.de/wp-content/daten/Informatik3/Vorlagen/Kapitel4/BlueJ_Java/GraphicsAndGames_BlueJ_Java.zip" + unzip GraphicsAndGames_BlueJ_Java.zip + mv GraphicsAndGames_BlueJ_Java/*.java . + .PHONY: clean clean: rm -f *.class @@ -1,13 +1,14 @@ -# Snake - simples Snake Spiel basierend auf der GraphicsAndGames +# Snake - simples Snake Spiel basierend auf GraphicsAndGames ## Requirements * Java -* A copy of [GraphicsAndGames](https://informatikschulbuch.de/wp-content/daten/Informatik3/Vorlagen/Kapitel4/BlueJ_Java/GraphicsAndGames_BlueJ_Java.zip) +* Eine Kopie des [GraphicsAndGames](https://informatikschulbuch.de/wp-content/daten/Informatik3/Vorlagen/Kapitel4/BlueJ_Java/GraphicsAndGames_BlueJ_Java.zip) Quellcodes. ## Usage -Simply the `Snake.java` into the GraphicsAndGames BlueJ Projekt. +Das enthaltene Makefile downloadet und extrahiert GraphicsAndGames automatisch. +Alternativ kann auch die `Snake.java` in das extrahierte GraphicsAndGames BlueJ Projekt kopiert werden. ## License |
