Ryan G.

@Pythonier (317)
Which is better: Terraria vs. Minecraft??
posted to Ask by CollinKunsman

Minecraft, redstone in minecraft is kind of like coding. Though very different, redstone could be used like code. Also, in minecraft there is different modes like survival or creative. Although I have played minecraft more than Terraria I would still choose minecraft. Terraria is still a very good game.

Python vs Java
posted to Ask by AquaMarine0421

@SPQR, @eankeen, @Vandesm14: I think we all responded at the exact same time!

Cycle Finder
posted to Share by Pythonier

@IzanLarumbe Right now you have 2 cycles. So if you enter your username it would print 2.

Cycle Finder
posted to Share by Pythonier

@AllAwesome497 Thank you!

Favorite Competition
posted to Ask by Pythonier

@eankeen Me too!

Favorite Competition
posted to Ask by Pythonier

@Zavexeon It looks cool!

HTML HELP: how do you change the icon in the tab???
posted to Ask by DimitriusLeal

Change the href in the code to the image you want:

<link rel="icon" type="image/png" href="favicon.png">

------------------------------------------------------------^----------

Reading Console Input using Node.js
posted to Ask by vedprad1

@vedprad1 Is this what you are looking for:

var rl = require('readline-sync');
rl.question("What do you think of node.js? ")
console.log("Thank you for your valuable feedback.");
Reading Console Input using Node.js
posted to Ask by vedprad1

@vedprad1 Weird, try requiring readline-sync instead. ex:

const readline = require("readline-sync");
var name = readline.question("What is your name? ");
Reading Console Input using Node.js
posted to Ask by vedprad1

It is possible, I don't code Node.js but I found this from https://flaviocopes.com/node-input-from-cli/

const readline = require('readline').createInterface({
  input: process.stdin,
  output: process.stdout
})

readline.question(`What's your name?`, (name) => {
  console.log(`Hi ${name}!`)
  readline.close()
})

Hope that helps!

What language?
posted to Ask by mkhoi

Nice question, although python is really good, I'd probably go with javascript.

Worlds Hardest Game
posted to Share by Pythonier

@Jason21 Nice Job! How many tries did it take you?

Worlds Hardest Game
posted to Share by Pythonier
Accidently created this!
posted to Share by Pythonier

@PHOENIX147 Yep, that happened when I was spamming numbers on the computer.

Worlds Hardest Game
posted to Share by Pythonier

@Aidan72 I liked it.

Worlds Hardest Game
posted to Share by Pythonier
Worlds Hardest Game
posted to Share by Pythonier

@PYer Thanks

Worlds Hardest Game
posted to Share by Pythonier

@Aidan72 I was just trying to be nice.

Worlds Hardest Game
posted to Share by Pythonier

@Aidan72 No, that just sounds like a good idea.

Accidently created this!
posted to Share by Pythonier

@Aidan72 I know, thanks for the advice!

Worlds Hardest Game
posted to Share by Pythonier

@Aidan72 That is a great game! Do you mind if I code that.

Accidently created this!
posted to Share by Pythonier

@Aidan72 I imported those colours out of habit.

Worlds Hardest Game
posted to Share by Pythonier

@Aidan72 Your right, but the chance of winning is still close to 0%

Accidently created this!
posted to Share by Pythonier

@Aidan72 Is it better now?

Accidently created this!
posted to Share by Pythonier

@Aidan72 That does look cooler!

Worlds Hardest Game
posted to Share by Pythonier

@minion3665 Thank You! I probably won't use it though.

Worlds Hardest Game
posted to Share by Pythonier
Worlds Hardest Game
posted to Share by Pythonier

@FrancoSinisi Wow, nice job!

Worlds Hardest Game
posted to Share by Pythonier

@AidanSlyker can't make it too hard

Worlds Hardest Game
posted to Share by Pythonier

@FrancoSinisi Really, wow! Nice job, did you complete it any other times?