diff --git a/.gitignore b/.gitignore index 567609b..e00b594 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -build/ +*.pdx diff --git a/Makefile b/Makefile index 26d5005..53df215 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ all: build build: clean mkdir -p build - PLAYDATE_SDK_PATH=$(PLAYDATE_SDK_PATH) $(PLAYDATE_SDK_PATH)/bin/pdc -k main.lua build/$(GAME).pdx + cd src && PLAYDATE_SDK_PATH=$(PLAYDATE_SDK_PATH) $(PLAYDATE_SDK_PATH)/bin/pdc -k main.lua ../$(GAME).pdx clean: - rm -rf build/ + rm -rf $(GAME).pdx diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..e2f35e5 --- /dev/null +++ b/readme.md @@ -0,0 +1,7 @@ +## Crank-Rotation Object Nudging Game + +This is an extremely simple game for the (Playdate)[https://play.date] handheld console. In it, you use the crank to control a paddle, and try to keep the moving Object from reaching the space behind the paddle by Nudging it with the paddle. + +This is, of course, a completely novel idea and is dissimilar from any other game ever made. + +It was written as an excuse to learn the Playdate SDK, and is made available here in case it serves as a useful tool for basic object-oriented development in Playdate's LUA library. diff --git a/ball.lua b/src/ball.lua similarity index 100% rename from ball.lua rename to src/ball.lua diff --git a/main.lua b/src/main.lua similarity index 100% rename from main.lua rename to src/main.lua diff --git a/pixie.lua b/src/pixie.lua similarity index 100% rename from pixie.lua rename to src/pixie.lua