JavaScript Help

Posts

Hey,

thanks first off. This might not be what this thread is for, but can you tell me in what language the game "Tribalwars" is made of? I think it's JS but I am not sure and since you're offering help in JS you might know it or see it.

Thanks c;

Ene wrote

Hey,

thanks first off. This might not be what this thread is for, but can you tell me in what language the game "Tribalwars" is made of? I think it's JS but I am not sure and since you're offering help in JS you might know it or see it.

Thanks c;

I think its made in JS.
You can check following .js files from the site though:
game.js and VillageOverview.js.
Use JSBeautifier to make it readable.

24 days later
Yoko wrote

Yeah can you teach me how to make something like this :/

Are you serious? Gtfo Yoko this is not teach me thread  :mad:
Honestly if you are just starting with JS this is too hardcore for you.

Bernkastel wrote
Yoko wrote

Yeah can you teach me how to make something like this :/

Are you serious? Gtfo Yoko this is not teach me thread  :mad:
Honestly if you are just starting with JS this is too hardcore for you.

Do you have any examples of your js work?  :derp:

Yoko wrote
Bernkastel wrote

Are you serious? Gtfo Yoko this is not teach me thread  :mad:
Honestly if you are just starting with JS this is too hardcore for you.

Do you have any examples of your js work?  :derp:

Half of KF :^]
Right @"Tenshi"? :^]

Bernkastel wrote
Yoko wrote

Do you have any examples of your js work?  :derp:

Half of KF :^]
Right @"Tenshi"? :^]

rate my dank as fuck game

confirm("Are you ready to play?");

var age = prompt("What's your age?");

if (age < 13) {
   console.log("You are allowed to play but I take no responsibility for incurred brain damage caused by this game.");
}
else {
   console.log("You are old enough to get aids.");
}
// story
console.log("You are in your imouto's room, while she is at school");
console.log("Suddenly, you come across wild panties laying on the floor, must have been yesterday's panties.");

var userAnswer = prompt("Do you you want to sniff panties, yes or no");
// sniff prompt
if (userAnswer === "yes") {
   console.log("You take in your imouto's sweet scent, and become diamonds");
}
else {
   console.log("You're a fucking bitch.");
}

var feedback = prompt("Please rate this game out of 10")

if (feedback > 8) {
   console.log("Thank you, I will continue!");
}
else {
   console.log("I'll try better next time senpai ;_;");
}
Yoko wrote
Bernkastel wrote

Half of KF :^]
Right @"Tenshi"? :^]

rate my dank as fuck game

confirm("Are you ready to play?");

var age = prompt("What's your age?");

if (age < 13) {
   console.log("You are allowed to play but I take no responsibility for incurred brain damage caused by this game.");
}
else {
   console.log("You are old enough to get aids.");
}
// story
console.log("You are in your imouto's room, while she is at school");
console.log("Suddenly, you come across wild panties laying on the floor, must have been yesterday's panties.");

var userAnswer = prompt("Do you you want to sniff panties, yes or no");
// sniff prompt
if (userAnswer === "yes") {
   console.log("You take in your imouto's sweet scent, and become diamonds");
}
else {
   console.log("You're a fucking bitch.");
}

var feedback = prompt("Please rate this game out of 10")

if (feedback > 8) {
   console.log("Thank you, I will continue!");
}
else {
   console.log("I'll try better next time senpai ;_;");
}

7.9

Lewd wrote
Yoko wrote

rate my dank as fuck game

confirm("Are you ready to play?");

var age = prompt("What's your age?");

if (age < 13) {
   console.log("You are allowed to play but I take no responsibility for incurred brain damage caused by this game.");
}
else {
   console.log("You are old enough to get aids.");
}
// story
console.log("You are in your imouto's room, while she is at school");
console.log("Suddenly, you come across wild panties laying on the floor, must have been yesterday's panties.");

var userAnswer = prompt("Do you you want to sniff panties, yes or no");
// sniff prompt
if (userAnswer === "yes") {
   console.log("You take in your imouto's sweet scent, and become diamonds");
}
else {
   console.log("You're a fucking bitch.");
}

var feedback = prompt("Please rate this game out of 10")

if (feedback > 8) {
   console.log("Thank you, I will continue!");
}
else {
   console.log("I'll try better next time senpai ;_;");
}

7.9

tjanks mate ;_;
ur a fuckin' com power though :/

Yoko wrote
Bernkastel wrote

Half of KF :^]
Right @"Tenshi"? :^]

rate my dank as fuck game

confirm("Are you ready to play?");

var age = prompt("What's your age?");

if (age < 13) {
   console.log("You are allowed to play but I take no responsibility for incurred brain damage caused by this game.");
}
else {
   console.log("You are old enough to get aids.");
}
// story
console.log("You are in your imouto's room, while she is at school");
console.log("Suddenly, you come across wild panties laying on the floor, must have been yesterday's panties.");

var userAnswer = prompt("Do you you want to sniff panties, yes or no");
// sniff prompt
if (userAnswer === "yes") {
   console.log("You take in your imouto's sweet scent, and become diamonds");
}
else {
   console.log("You're a fucking bitch.");
}

var feedback = prompt("Please rate this game out of 10")

if (feedback > 8) {
   console.log("Thank you, I will continue!");
}
else {
   console.log("I'll try better next time senpai ;_;");
}

10/10 lemme recreate it  :steve:

Yoko wrote
Lewd wrote

7.9

tjanks mate ;_;
ur a fuckin' com power though :/

hold on that wasnt in the code !!!