git @ Cat's Eye Technologies Super-Wumpus-Land / 56a3388
Add BSD license to .js version, update copyright/version dates. catseye 10 years ago
2 changed file(s) with 37 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
0 /*
1 # SUPER WUMPUS LAND v1.1-2013.0326
2 # Copyright (c)2000-2013, Chris Pressey, Cat's Eye Technologies.
3 # All rights reserved.
4 #
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions
7 # are met:
8 #
9 # 1. Redistributions of source code must retain the above copyright
10 # notices, this list of conditions and the following disclaimer.
11 # 2. Redistributions in binary form must reproduce the above copyright
12 # notices, this list of conditions, and the following disclaimer in
13 # the documentation and/or other materials provided with the
14 # distribution.
15 # 3. Neither the names of the copyright holders nor the names of their
16 # contributors may be used to endorse or promote products derived
17 # from this software without specific prior written permission.
18 #
19 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING, BUT NOT
21 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
22 # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
23 # COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25 # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
26 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
29 # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 # POSSIBILITY OF SUCH DAMAGE.
31 */
32
033 function d(n, s) {
134 var c = 0;
235 while (n > 0) {
0 #!/usr/bin/perl
0 #!/usr/bin/env perl
11
22 ### BEGIN swl.pl ###
33
4 # SUPER WUMPUS LAND
5 # v2007.1216 Chris Pressey, Cat's Eye Technologies
6
7 # Copyright (c)2000-2007, Cat's Eye Technologies.
4 # SUPER WUMPUS LAND v1.0-2013.0326
5 # Copyright (c)2000-2013, Chris Pressey, Cat's Eye Technologies.
86 # All rights reserved.
97 #
108 # Redistribution and use in source and binary forms, with or without
111109 }
112110 elsif ($i == 9)
113111 {
114 print "* v 2007.1216 *\n";
112 print "* v1.0-2013.0326 *\n";
115113 }
116114 elsif ($i == 14)
117115 {