# Astray

- Game: Astray
- Author: Rye Terrell (wwwtyro). The upstream README names no author; this is the author of the repository's commits.
- Upstream: https://github.com/wwwtyro/Astray
- Upstream commit: `d3c4f61f2cbbe35752fbfa205f85a41d7f9fe0f0` (2022-08-13)
- Licence: The Unlicense (public-domain dedication). The full text is in [License.md](License.md). It covers the game's own code (`index.html`, `maze.js`) and, as far as upstream states, the textures `ball.png`, `brick.png` and `concrete.png`. Upstream gives no separate source or licence for those images.

## Third-party components shipped in this directory

These are not covered by the Unlicense. Their notices follow.

### three.js r49 (`Three.js`)

https://github.com/mrdoob/three.js. The bundled minified file carries only the header `// Three.js - http://github.com/mrdoob/three.js`. Its licence (from the three.js repository at tag r49):

```
The MIT License

Copyright (c) 2010-2012 Three.js authors.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
```

### Box2DWeb (`Box2dWeb.min.js`)

Box2DWeb is the JavaScript port of Box2DFlash 2.1a by hecht-software (https://github.com/hecht-software/box2dweb), based on Box2D by Erin Catto. The bundled minified file carries no notice. Its zlib licence notice (from the Box2DWeb source file `Box2D.js`):

```
Copyright (c) 2006-2007 Erin Catto http://www.gphysics.com

This software is provided 'as-is', without any express or implied
warranty.  In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
```

### KeyboardJS (`keyboard.js`)

The file's header reads "Copyright 2011, Robert William Hurst. Licenced under the BSD License." This is the BSD licence text that KeyboardJS shipped in `license.txt` at the time (identical at tags v0.2.2 and v0.3.3 of https://github.com/RobertWHurst/KeyboardJS):

```
Copyright 2011 Robert Hurst. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:

   1. Redistributions of source code must retain the above copyright notice, this list of
      conditions and the following disclaimer.

   2. Redistributions in binary form must reproduce the above copyright notice, this list
      of conditions and the following disclaimer in the documentation and/or other materials
      provided with the distribution.

THIS SOFTWARE IS PROVIDED BY ROBERT HURST ''AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ROBERT HURST OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The views and conclusions contained in the software and documentation are those of the
authors and should not be interpreted as representing official policies, either expressed
or implied, of Robert Hurst.
```

### jQuery 1.7.2 (`jquery.js`)

(c) jQuery Foundation and other contributors. Header: `jQuery v1.7.2 jquery.com | jquery.org/license`. jQuery 1.7.2 was released under the MIT licence (dual-licensed MIT or GPL-2.0 at the time). See https://jquery.org/license.

## Changes

Modified by Invisible Network on 2026-10-17:

- Removed `README.md`, which is not needed to run the game.
- `index.html`: the three textures are loaded from relative paths (`ball.png`, `concrete.png`, `brick.png`) instead of the site root (`/ball.png` and so on), so the game works from its own directory.

No other file was changed.
