Skip to content
Sign UpLog In
Profile icon

Computing Squid

@ComputingSquid
some bored guy coding
GitHub
  • reef hunter

    Cover page
    Made with Kaboom Platformer

    COTS hunter - remastered | A play on the KaboomJS default template | a collaboration with @emojigame @pinatacactus and others

    Recent comments (1)
    ComputingSquid
    ComputingSquid
    2 months ago

    Gameplay: jump around collect coins & powerups jump on starfish press space to shoot a bullet touch a boat to go to the next level

  • cots hunter

    Cover page
    Made with Kaboom Platformer

    cots hunter 2 coming soon?

    Recent comments (0)
Repls
Community
ComputingSquid
ComputingSquid
published a Repl
2 months ago
0
reef hunter
reef hunterCOTS hunter - remastered | A play on the KaboomJS default template | a collaboration with @emojigame @pinatacactus and others
ComputingSquid
ComputingSquid
Gameplay: jump around collect coins & powerups jump on starfish press space to shoot a bullet touch a boat to go to the next level2 months ago
ComputingSquid
ComputingSquid
shared a Post
2 years ago
It says, unexcpected end-of-input on a line where there is clearly none: main.rb:142: syntax error, unexpected end-of-input, expecting keyword_end put
Repl.it adventure game
Ruby
Coder100
Coder100
probably forgot an end somewhere2 years ago
ComputingSquid
ComputingSquid
shared a Post
3 years ago
I'm confused. So this was a project for my Dad to calculate mean deviation. But then i was like yay it should work and the JavaScript looked ok, but
Coder100
Coder100
ok so basically the error is that all the meandev variables are not defined: let meanDev1; let meanDev2; let meanDev3; let meanDev4; let meanDev5; This is because in your function: function calc(theVar, meanDev) { You don't own meanDev (meaning you can't change the variable that gave you that value). The solution is to just return the value. Solution ALSO ADD SEMICOLONS THIS IS NOT PYTHON3 years ago
Coder100
Coder100
image Can I ask why you are doing Number(meanDev) and then discarding the result?3 years ago
Coder100
Coder100
where?3 years ago
ComputingSquid
ComputingSquid
shared a Post
3 years ago
I'm am kind of confused, I Do not know how to correctly set something as a number and then make it check if the user has visited and then not reset th
ComputingSquid clicker
HTML, CSS, JS
Coder100
Coder100
Hi, localstorage saves everything as a string. So for you: if (!localStorage.getItem("score")) localStorage.setItem("score", "0") let score = Number(localStorage.getItem("score")); And now, each time you change score, you will have to save it: score ++; localStorage.setItem("score", score) Links: https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage https://www.w3schools.com/jsref/propwinlocalstorage.asp3 years ago
PYer
PYer
You can try using cookies: https://www.w3schools.com/js/js_cookies.asp document.cookie = "hasvisited=1"; 3 years ago
PattanAhmed
PattanAhmed
@ComputingSquid Hi, You can use Databases... Variables... And etc. Check this website to know more:- Click here That's it. Thanks! Hope this helps3 years ago
ComputingSquid
ComputingSquid
shared a Post
3 years ago
I was just putting a link in a repl but then the target="_blank" opened up in a new tab, did not work. So I made a test repl(down below) And I'm wonde
HeavyKindlyComma
HTML, CSS, JS
k9chelsea2
k9chelsea2
same your problem i have encountered (the traget blank thingy not exsisting)3 years ago
Coder100
Coder100
you can't configure target=blank for things like this.3 years ago
Coder100
Coder100
um, mailto opens an app3 years ago
ComputingSquid
ComputingSquid
shared a Post
3 years ago
uhhhhhh Because it showed someone else's pfp and cycles on my profile, it might be a bug. Go to someone else's profile, the click on your profile
CodingCactus
CodingCactus
hi, i reported this a very long time ago https://repl.it/bugs/p/switching-between-viewing-profiles3 years ago
Coder100
Coder100
Yes, that is an error I have encountered. Please help and report here. Thanks! btw, you might also want to put inside: go to someone else's profile, then click on yourself on the top left, select profile. `3 years ago
PattanAhmed
PattanAhmed
@ComputingSquid Hi Squid, When I open your profile nothing seems wrong 01 But if you can't access your profile name then it's 100% a bug! You can report it in the Bugs Section You can go to Bugs Section from here Feel free to post your bug there The community of Repl may follow up with you there. *Hope this helps Please mark my answer if this helps*3 years ago
ComputingSquid
ComputingSquid
shared a Post
3 years ago
[Unofficial] Guide To Awarding Cycles > Note: I'm not a mod or content creator, but this is what I think: I think people should be free with upvotes
ComputingSquid
ComputingSquid
shared a Post
3 years ago
I wondering why this does not work magicItem = ["Wand" , "Orb" , "Staff" , "Rod" , "Token"].sample weapon = ["Mace" , "Sword" , "Spear" , "Bow" , "Da
Repl.it adventure game
Ruby
PattanAhmed
PattanAhmed
@ComputingSquid Hi Squid, Ruby is awesome, I know. ruby But you have some hard times getting your problems to get solved. :( **Check these websites that I found online. I think it may help you 1st website, 2nd website...** Please check those websites as it will be useful to you. Hope this helps Please mark my answer if this helps.3 years ago
DynamicSquid
DynamicSquid
I don't do ruby, but I found this3 years ago
ComputingSquid
ComputingSquid
shared a Post
3 years ago
So basically i tried to make some ruby script some the shop had some different items each time and it stayed the same when it got added to the player
Repl.it adventure game
Ruby
Coder100
Coder100
Well, you are using require_relative requiring shop which requires main which requires shop which ... Might want to remove the require statement inside shop.rb3 years ago
ComputingSquid
ComputingSquid
shared a Post
3 years ago
I included a link to the repl.it post for something, but it just opened up the website which is kind of sad. =( I'm not sure what is wrong.
CodingCactus
CodingCactus
To do link, you do href='link' not src3 years ago
ComputingSquid
ComputingSquid
shared a Post
3 years ago
I made this repl. I worked hard. This is still in development. I'm just posting it now. I used MDN and w3schools for this. Credits included. You don't
KobeFF
KobeFF
~ When a post has 3 upvotes...2 years ago
CodingCactus
CodingCactus
here is a bot: https://discordapp.com/oauth2/authorize?client_id=700051830394060801&scope=bot&permissions=03 years ago
ComputingSquid
ComputingSquid
shared a Post
3 years ago
so, I made a repl for my discord server, and I'm just wondering, before i post it, is it still advertising if you post something for your company/thin
ComputingSquid
ComputingSquid
my actual post: https://repl.it/talk/share/This-repl-is-for-my-Discord-server-I-made-a-repl-for-my-discord-server/44902 hopefully i don't get banned accidentally3 years ago
DynamicSquid
DynamicSquid
EY!YG UQIKWHaliukaj IKbzleiukjg squids are mine thing3 years ago
firefish
firefish
@DynamicSquid Short answer: yes and no. Long answer If it's something like HEY GUYS, CHECK OUT MY DISCORD SERVER, I MADE THIS REPL FOR THEM!!! that is advertising. If you say something like and just so you know, this repl was dedicated to my discord server, if you want to, you can check them out ;) then that would be OK.3 years ago
ComputingSquid
ComputingSquid
shared a Post
3 years ago
OK, so I am sort of experienced but i need help with seeing the text, and the entire image so welp please reply So, I need to be able to see the text
Coder100
Coder100
Hello, what's the question you are having?3 years ago
ComputingSquid
ComputingSquid
shared a Post
3 years ago
like, do i just put nil? i don't think it works. because the only other way i know is to make a game inside one big loop and then make conditions to e
mwilki7
mwilki7
try the exit function: exit 1 https://www.rubyguides.com/2019/03/ruby-exit/3 years ago
ComputingSquid
ComputingSquid
shared a Post
3 years ago
I tried to use gosu except it did not work. it just said, package installation failed. Error_2
ComputingSquid
ComputingSquid
shared a Post
3 years ago
Ok, so my repl just keeps saying: error, string literal in condition, whenever I use an if...else loop. it is sooooo anyoing. can anyone help me?
KobeFF
KobeFF
O yeah, ik this is an old post, but for future reference, if this still is an issue for you, it's most likely because you forgot to use "==" instead of "=". e.g. instead of x = 1 if x = "2" puts "x is 2" else puts "I can't guess the number" end try: x = 1 if x == "2" puts "x is 2" else puts "I can't guess the number" end `2 years ago
ComputingSquid
ComputingSquid
shared a Post
3 years ago
This is a d&d based game, but has some errors. I'm trying to fix it.