Welcome to X-PRAGMATIC MOD V1.0 , hacking the game!
/
Wild West Gold
Pragmatic Play
CodePen - HACKSYS the hacking game v2
Welcome to X-PRAGMATIC MOD V1.0 , hacking the game!
/
Wild West Gold
Pragmatic Play
Objectives
Objectives
@-webkit-keyframes blinking-caret {
50% {
opacity: 1;
}
}
@-moz-keyframes blinking-caret {
50% {
opacity: 1;
}
}
@-o-keyframes blinking-caret {
50% {
opacity: 1;
}
}
@keyframes blinking-caret {
50% {
opacity: 1;
}
}
html,
body {
background-color: #000;
color: #0f0;
font: normal 12px 'VT323', monospace;
height: 100%;
margin: 0;
width: 100%;
}
#starting-screen {
border: solid 1px #0f0;
border-radius: 3px;
font-size: 4em;
left: 50%;
opacity: 0;
padding: 20px 30px;
position: fixed;
text-align: center;
top: 25%;
-webkit-transition: opacity 3s, top 3s;
-moz-transition: opacity 3s, top 3s;
-o-transition: opacity 3s, top 3s;
transition: opacity 3s, top 3s;
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
z-index: 2;
}
#starting-screen.showing {
opacity: 1;
top: 50%;
}
#nickname {
background-color: #000;
border: solid 1px #0f0;
border-radius: 10px;
color: #0f0;
display: block;
font: normal 16px 'VT323', monospace;
margin: 20px auto 0;
outline: none;
padding: 6px;
text-align: center;
width: 240px;
}
#game {
font-size: 2em;
height: 100%;
opacity: 0;
-webkit-transition: opacity 1s 3s;
-moz-transition: opacity 1s 3s;
-o-transition: opacity 1s 3s;
transition: opacity 1s 3s;
width: 100%;
word-break: break-all;
z-index: 1;
}
#game.showing {
opacity: 1
}
#display1 {
float: left;
height: 100%;
overflow: auto;
position: relative;
width: 50%;
}
#console-input {
border: none;
bottom: 0;
cursor: default;
opacity: 0;
position: absolute;
width: 100%;
}
#console-visible-input {
width: 100%;
}
#console-caret {
-webkit-animation: blinking-caret 1s infinite;
-moz-animation: blinking-caret 1s infinite;
-o-animation: blinking-caret 1s infinite;
animation: blinking-caret 1s infinite;
background-color: #0f0;
display: inline;
opacity: 0;
}
#display2 {
border-color: #999;
border-style: groove;
border-width: 0 0 0 5px;
box-sizing: border-box;
float: right;
height: 100%;
position: relative;
width: 50%;
}
#tabs-container {
cursor: default;
list-style: none;
margin: 0;
padding: 10px 10px 0;
}
#tabs-container .tabs {
border-color: #0f0;
border-radius: 3px 3px 0 0;
border-style: solid;
border-width: 1px 1px 0;
cursor: pointer;
display: inline-block;
padding: 3px 6px;
position: relative;
text-align: center;
min-width: 50px;
}
#tabs-container .tabs.selected::after {
background-color: #000;
bottom: -1px;
content: '';
height: 1px;
left: 0;
position: absolute;
width: 100%;
}
#content-container {
border-top: solid 1px #0f0;
list-style: none;
margin: 0;
padding: 0;
}
#content-container .content {
margin: 10px;
}
@media (max-width: 767px) {
#display2 {
border-width: 0 0 5px;
}
#display2,
#display1 {
float: none;
height: 50%;
width: 100%;
}
}
$(document).ready(function() {
var basicCommands = {
help: {
description: 'provides a list of commands with their description to the user.',
parameter: 'the command to get help about',
action: '',
},
};
var userCommands = {
connect: { // the command itself
description: 'connects the device to the nearest phone relay', // the description that appears in the help menu for this command
parameterlist: { // the list of parameters for this command
parameter1: {
description: 'the target to connect to', // description of the parameter
optional: false, // if the parameter has to be mandatory (default: optional)
},
parameter2: {
parameter: '-s', // if the parameter has to be a certain string
description: 'connect to target with the secure connection',
},
},
actionlist: { // if the command should take more than one actions
action1: {
text: 'connecting to #{parameter1}...', // the text it should show for this action
time: 3, // the time it should take to execute the next action
},
action2: {
text: 'connected to #{parameter1}',
},
},
},
disconnect: {
description: 'disconnect from the currently connected target',
actionList: {
action1: {
text: 'disconnected',
},
},
},
};
var commands = Object.assign(basicCommands, userCommands);
var mission = {
type: 'mission',
entry1: {
chat: '/', // in which chat should the text appear
text: 'hey there #{nickname}', // text that appears in the chat
time: 10, // after how many seconds should the script continue to the next entry
},
entry2: {
chat: '/',
text: 'lets get used to this interface, shall we',
time: 30,
},
entry3: {
chat: '/',
text: 'if you need any help just type in help anytime and you will find a bunch of useful commands that you can use in your terminal/console/command prompt or whatever you want to call it',
time: 10,
},
entry4: {
chat: '/',
text: 'try it out now',
command: 'help', // which command should trigger the script to continue to the next entry
},
entry5: {
chat: '/',
text: 'there you go',
time: 10,
},
entry6: {
chat: '/',
text: 'now lets try something different',
time: 20,
},
entry7: {
chat: '/',
text: 'try to connect to the nearest phone relay',
command: 'connect',
},
entry8: {
chat: '/',
text: 'now disconnect before you get tracked down. you have 60 seconds before they track you down...',
command: 'disconnect',
time: 60, // if command property exists as well, time shows after how many seconds does it take to happen the game over
},
entry9: { // if neither command nor time property exist, it is the end of the mission
chat: '/',
text: 'congratulation! you just passed our test!',
},
};
var chat = {
'/': [
'Auto Set Mod di #{nickname}',
'X-PRAGMATIC MOD V1.0 tidak untuk di perjual belikan & dapat kalian download secara gratis di channel telegram ANTONBOCOR',
'Setelah beberapa detik kalian akan di alihkan ke dalam menu X-PRAGMATIC MOD V1.0',
'Nyalakan seperlunya & staf safe....',
'5....',
'4....',
'3....',
'2....',
'1....',
'redirect now...',
],
'Anonymous': [
'hey there #{nickname}',
],
'CIA': [
'hey there #{nickname}',
],
};
var objectives = [];
console.clear();
var nickname = 'Doe';
var keyCode = {
enter: 13,
arrowUp: 38,
arrowDown: 40,
leftArrow: 37,
rightArrow: 39
};
var inputHistory = {
backward: [],
forward: []
};
var $gameContainer = $('#game');
var $consoleInput = $('#console-input');
var $display1 = $('#display1');
var $consoleVisibleInput = $('#console-visible-input');
var $startingScreen = $('#starting-screen');
var $nicknameInput = $('#nickname');
var $objectivesContainer = $('#objectives');
setTimeout(function() {
$startingScreen.addClass('showing');
}, 1000);
$nicknameInput.on('keyup', function(e) {
if ($nicknameInput.val() !== '' && e.which === keyCode.enter) {
nickname = $nicknameInput.val();
$startingScreen.removeClass('showing');
$gameContainer.addClass('showing');
var i = 0;
var chatInterval = setInterval(function () {
$objectivesContainer.append('