Skip to content

Instantly share code, notes, and snippets.

View mekegi's full-sized avatar

Arsen Abdusalamov mekegi

View GitHub Profile
/*************
* lasers.js *
*************
*
* Time to unleash the killer lasers! Each laser will kill you
* unless you have the appropriate color. Too bad you can't
* see which color corresponds to which laser!
*/
function getRandomInt(min, max) {
/*
* robotNav.js
*
* The green key is located in a slightly more
* complicated room. You'll need to get the robot
* past these obstacles.
*/
function startLevel(map) {
// Hint: you can press R or 5 to "rest" and not move the
/*************
* ambush.js *
*************
*
* Oh. Oh, I see. This wasn't quite part of the plan.
*
* Looks like they won't let you take the Algorithm
* without a fight. You'll need to carefully weave your
* way through the guard drones.
*
/*************
* colors.js *
*************
*
* You're almost at the exit. You just need to get past this
* color lock.
*
* Changing your environment is no longer enough. You must
* learn to change yourself. I've sent you a little something
* that should help with that.
/**
* @since 04.10.13 11:56
* @author Arsen Abdusalamov
* @param {} $ jQuery
* @param {} window
* @returns void
*/
(function ($, window) {
"use strict";
window.CometClient = function () {
/*global Buffer: false, clearInterval: false, clearTimeout: false, console: false, exports: false,
global: false, module: false, process: false, querystring: false,
require: false, setInterval: false, setTimeout: false, '__filename': false, '__dirname': false */
"use strict";
var dataArrayByCanal = [],
port = process.argv[2];
if (port === undefined) {
console.log('Error: Port is not specified. Port must be passed as first argument');