@KENNETHTRIPP i followed this tutorial by Brackeys, then got distracted playing minecraft and didnt do anything for a few months, then got an idea to make a game, it didnt work, but eventually the idea for this happened and somehow i pulled it off
@KENNETHTRIPP i followed this tutorial by Brackeys, then got distracted playing minecraft and didnt do anything for a few months, then got an idea to make a game, it didnt work, but eventually the idea for this happened and somehow i pulled it off
you can type stuff into the console
socket.emit('update',{'user':"hello",'x':0,'y':0})
this will spawn in a cursor at that location, if a cursor with that name already exists it will move itsocket.emit('click',{'user':"hello",'x':150,'y':150})
this will make the little ripple at that location, the color of it is based on the first letter of the usersocket.emit('msg',{'user':"hello",'text':"message"})
this will send a message to the console as name in user
solid 5/7 i use this everyday all day
at first i thought this was just a joke but after using it once i realized it was so much more!
in "password guess" you play as an omnipresent being and your goal is to input words.
this may sound like a simple premise but due to the underlying themes of chaos and destruction it creates a really intense experience which really cant be found elsewhere.
my first password was "hello" which was beaten easily but while i don't want to spoil the game for anyone, its actually a really good tutorial, it teaches you the basics of the game as well as valuable lessons you can apply in all your other runs and allows you (with much practice) to perfectly craft an unbeatable password.
SPOILER:
"superstrongpassword123" really combines elements of each line of code to create something that beats every level, while i wouldn't recommend using it, if you are having difficulty's beating the game maybe take parts of it to combine into your own password
-Netta
extended essay coming soon
@LittleNomster
alas, mcdonalds is a dangerous, unpredictable and mysterious place...
@JamesGordon1 just use this link to play (or click the button at the top of the post again)
@Hamburgr ill see what i can do tommorow, will reply here with any updates
you can also specify RGB values for ansi escape sequences
this can be done with\033[38;2;<r>;<g>;<b>m
you can also set the RGB of the background using\033[48;2;<r>;<g>;<b>m
(ive used ansi escape sequences alot)
@Orca20 i looked through the code and removed a few things i think could have caused it
sorry if its still broken, but im not too interested in endlessly fixing it, the goal of my fork was to make it playable, not perfect
so unpredictable in fact, that you got killed by something from a different brand entirely that isnt even in the game experience
you could make it wait for a correct input to stop it crashing when you dont enter a number
value=input("enter a number ")
while not (value.isdigit() and 0<int(value)<10):
value=input("\033[Fenter a number \033[J")
V example to show it working
https://repl.it/@Nettakrim/CoarseWindingCallbacks
or alternatively for buying troops you could make it so entering something that isnt a number makes it go back to the menu
https://maxdonalds.mcutten.repl.run/ is something i made a while ago that uses both of those (its also generally incredibly well polished UI wise)
While walking to the shops you accidentally summon Cthulhu, -10 sanity
good morning @potatojs
this is cool!
a "most popular posts" would be cool, also if you dont have a description it just says "None" next to your name
there isnt a limit on doors
you can enter door 12 despite the fact there are only 3
you can also enter door cat
@InvisibleOne i think @ChezCoder told me how to do it like 5 months ago if you want to trace it back that far
another interesting thing is you can use "\033[?25l" to hide the cursor and "\033[?25h" to show it
@InvisibleOne if your wondering what its doing, its moving the cursor to the top left, then printing which overwrites the previous text, therefore the background blue color never appears
in usual cases (eg printing text) it wont work properly as if you print abcd
then \033[H
then hi
it will result in hicd
i guess ill just have to die of dehydration as im not allowed to drink
fixed it
@mwilki7 UUUUH
@VulcanWM obviously you would change 0<int(value)<10 so that the <10 is the maximum of something you can do (also changed to <=10)
@potatojs
in script.js if you put this just after the pipe spawner
if ((frameCount) % 100 == 20 && frameCount>300) {
score++
console.log(score)
}
then the score variable will tick up one every time you pass a pipe
if i knew haw JavaScript worked i would also give the code to make the score show up but i dont so ‾\_(' . ')_/‾
@DynamicSquid @studentAlfredAl i made a fork where you dont have to put in your password (obviously it still needs your email) https://repl.it/@Nettakrim/Reminder-bot
wouldnt it be better if you made it send an email with your account (prob a throwaway one anyway) that would be stored in environment variables?
then you just need to input [email protected]
and not your password
is the instant fame guaranteed?