From 3be5f0b92827fd18def0c71ae8b4d4381edaf13c Mon Sep 17 00:00:00 2001 From: dsc Date: Tue, 23 Nov 2010 22:54:09 -0800 Subject: [PATCH] Fixes turret location calculation. Thanks Chester! --- index.php | 17 ++++----- src/Y/modules/y.cookies.js | 28 ++++++++++++++ src/Y/modules/y.kv.js | 39 ++++++++++---------- src/Y/y-object.js | 64 ++++++++++++++++++++++++++++++-- src/Y/y-string.js | 86 ++++++++++++++++++++++++++++++++++++++++++- src/tanks/config.js | 4 +- src/tanks/thing/player.js | 5 ++- src/tanks/thing/tank.js | 44 +++++++++++----------- src/tanks/ui/config.js | 8 ++++ tanks.php | 1 + 10 files changed, 237 insertions(+), 59 deletions(-) create mode 100644 src/Y/modules/y.cookies.js create mode 100644 src/tanks/ui/config.js diff --git a/index.php b/index.php index 7376a28..afcb361 100644 --- a/index.php +++ b/index.php @@ -10,14 +10,6 @@
- -

The Littlest Battletank

@@ -28,13 +20,20 @@
  • Move your tank with wasd or the arrow keys.
  • Use the mouse to aim; click to shoot (or press spacebar).
  • Press enter to pause.
  • -
  • For now, refresh the page to play again. :)
  • Click anywhere to start!

    + +