commit 75a3ae6a6f2ce7cb45021653ee4b4c54a5850e5f Author: Foohoo Date: Sun Aug 10 17:53:58 2025 +0100 inital commit with game file and Readme diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..865192c --- /dev/null +++ b/Readme.md @@ -0,0 +1,12 @@ +# ZIP! + +This is a very small javascrpt game made using the Claude AI tool (using Claude-sonnet4) + +## Instructions + +Use the arrow keys ( <- and ->) or the 'a' and 'd' keys to guide the green player to collect as much loot as possible. The enemy player (red) will be trying to do the same. + +The loot spawns randomly and is worth less points the longer it is un-collected. + +First to 1000 points wins! + diff --git a/index.html b/index.html new file mode 100644 index 0000000..c620785 --- /dev/null +++ b/index.html @@ -0,0 +1,673 @@ + + + + + + Loot Collector + + + +
+
Player: 0 | Enemy: 0
+
+ +
5
+ +
+
PLAYER WINS!
+
Final Score: Player 1000 - Enemy 850
+ +
or press SPACE to restart
+
+ + + +
+ Use A/D or Left/Right arrows to steer • Collect the glowing loot! +
+ + + + \ No newline at end of file