Atri Dey

@AtriDey (187)
I feel like I should have some kind of edgy and creative bio, but I honestly don't care enough to think one up.
AtriDey
AtriDey shared a Post
1 year ago
62
3D Physics Simulator using the Godot Engine!
Share
I've had a lot of fun with Godot. First, I got familiar with GDScript and made a moving character. Then, I improved that initial character and also in
Godot Physics Playground
HTML, CSS, JS
Read full post
RECENT REPLIES
wantT0befriends
wantT0befriends 1 year ago
image No objects! :)
SixBeeps
SixBeeps 1 year ago
Gah, I need to learn Godot at some point.
EdwardKazmiersk
EdwardKazmiersk 1 year ago
hehehehehee bulli em
AtriDey
AtriDey shared a Post
2 years ago
7
Text based Note Management
Share
My first big project takes your notes, timestamps them, and saves them to a password-protected user folder. Can't run in a new tab, as a bit of resear
Note System
Python
Read full post
RECENT REPLIES
LizFoster
LizFoster 2 years ago
Nice work!
squidcoder
squidcoder 2 years ago
You could also use the pickle module to create a new file in binary, so it would take up less space. I think it would also make the code a bit shorter, but I don't know.
AtriDey
AtriDey shared a Post
9 months ago
5
COVID-19 Tracker
Share
It's been a while since I was last active on repl.it, and I've finished some projects since then. Among them is a COVID-19 tracking Discord bot. I've
COVID Tracker
Python
Read full post
RECENT REPLIES
ridoskon
ridoskon 2 days ago
You did a good job, with a few improvements, and it will be even better. I used to follow the statistics of COVID-19, how many have been vaccinated, but I've already gotten bored; it brings me to depression all this stuff. I know what it means to be vaccinated and to go through COVID. Most of all, I had a severe form of COVID. I'm grateful I survived. Grateful for advanced medicine and the dedication of doctors. I was treated with pills; I felt their effectiveness. You can read about these pills
MultiLangCoder
MultiLangCoder 2 months ago
It doesn't work on not-so well known countries like Cyprus, Angola and Luxembourg.
Gh0stHack3r
Gh0stHack3r 9 months ago
ItZ GoOd!
AtriDey
AtriDey shared a Post
2 years ago
2
[Solved, input still welcome] Best and fastest way to learn Python?
Ask
I don't like C++. My Python-coding friends hate it. Everyone says that Python is a better starting language than C++. My original plan was to learn fRead full post
RECENT REPLIES
Highwayman
Highwayman 2 years ago
I can spend years learning Python if I need to. Why not spend them on C++? If your willing to do that for a language, then why do you hate C++? Edit: sorry you said you don’t like it not hate it, but still I curious: why? What isn’t that great about C++?
ArjunSS1
ArjunSS1 2 years ago
W3Schools has a lot of good information for learning python. I personally got my fundamentals with codecademy. But codecademy is not good for python
theangryepicbanana
theangryepicbanana 2 years ago
Learning is not an instant process. If you'd like, you could always try Sololearn, which is an online tutorial website that has python as one of the languages it can teach.
AtriDey
AtriDey shared a Post
2 years ago
2
[Solved] Why won't my program run in a new tab?
Ask
It never works. I don't know what else to say. This one's a program for a Breakout.edu I'm doing at school, and it once again won't work. https://den
Question
C++
Read full post
RECENT REPLIES
Giothecoder
Giothecoder 2 years ago
It just shows up as 404?
a5rocks
a5rocks 2 years ago
Looks like it works to me? Mind taking a screenshot / saying what the desired behaviour is?
AtriDey
AtriDey shared a Post
2 years ago
1
Broken if statement
Ask
Probably made a stupid mistake here, but I have no idea what it was. This error only occurs in the void fast_mode function. The highscores are broken.
Chance Game
C++
Read full post
RECENT REPLIES
Highwayman
Highwayman 2 years ago
It seems that someone was too lazy to say highscore < 32.
SixBeeps
SixBeeps 2 years ago
There should be one < instead of two. Also, don't seed the rand() value, that will make things worse.
AtriDey
AtriDey shared a Post
2 years ago
2
Abusing Infinite Loop
Share
My extremely basic coding skills can't unleash the full potential of an infinite while loop. Your turn. Please make something. Fish based off design
I. AM. FISH!!!!!!!!!
C++
Read full post
RECENT REPLIES
Highwayman
Highwayman 2 years ago
nice fish actually. :)
AtriDey
AtriDey shared a Post
1 year ago
2
Godot 3D Ball Roller: New and Improved!
Share
Yesterday, I showed you guys my original post on the Godot engine which can be seen here. Today I've been busy. After giving up on Tinkercad's horrib
Bol 2.0 :D
HTML, CSS, JS
Read full post
RECENT REPLIES
CodingPseudonym
CodingPseudonym 1 year ago
Yes a lot better. I like the loading screen too.
AtriDey
AtriDey shared a Post
2 years ago
2
How do I stop a loop upon error?
Ask
This is part of a school project for a Breakout.edu. If someone enters the incorrect answer with a letter, the loop bypasses the input and repeats. Is
Question
C++
Read full post
RECENT REPLIES
SPQR
SPQR 2 years ago
This happens because cin cannot read something that would cause it to error. You can resolve this particular issue by flushing cin after the input is taken. (Try adding cin.clear() and cin.ignore() at the end of your while loop.) As for using a char[4] for comparison, try using a std::string, which can be compared to other std::strings. For example: using namespace std; string input; while (input != "hello!") cin >> input; `
AtriDey
AtriDey shared a Post
2 years ago
2
Why do people manually type std in C++?
Ask
Why not simply say using namespace std; and omit the std::? For example, std::cout<<"Hello World!"<<endl; rather than using namespace std; and cout<<Read full post
RECENT REPLIES
MrEconomical
MrEconomical 2 years ago
I would write a reply but this one is way better than anything I could write https://www.geeksforgeeks.org/using-namespace-std-considered-bad-practice/
AtriDey
AtriDey shared a Post
2 years ago
2
Counter
Share
I was really that bored. Use for this: mod it to count for a certain time (using sleep. Remember, load the unistd.h header file, as repl.it is just vi
Counter
C++
Read full post
AtriDey
AtriDey shared a Post
2 years ago
1
Repl won't start
Ask
It simply won't start. After a lengthy install, it doesn't respond when I press run. What is happening? Edit: Now there's a bunch of errors.
WASD Checker
Python
Read full post
RECENT REPLIES
ash15khng
ash15khng 2 years ago
I don't think keypresses really work very well on repl because it is browser based. EDIT: the error is about being root, try using another library?
AllAwesome497
AllAwesome497 2 years ago
Try opening the repl shell ctrl+shift+s and running kill 1, this should cause everything to reset.
AtriDey
AtriDey shared a Post
2 years ago
1
IndexError: list index out of range
Ask
The error is in line 16, where a variable with the value of 0 is used to assign URL_arr[0] to the input. Why isn't this working?
Web Spammer
Python
Read full post
RECENT REPLIES
a5rocks
a5rocks 2 years ago
You don't assign to a list, instead you do something like .append() For example URLinput=URLarr[arrnumber] (I think you mean URLarr[arrnumber]=URLinput btw) should be URLarr.append(URLinput).
AtriDey
AtriDey shared a Post
2 years ago
1
Repl deleted changes after 9:45 yesterday
Ask
I had a bug with invisible files, so I was moving my code to a fresh repl. I'd done this before. After renaming this repl, my computer froze for a secRead full post
RECENT REPLIES
HackermonDev
HackermonDev 2 years ago
All you can really do is report the bug at repl.it/bugs and hope they fix it
AtriDey
AtriDey shared a Post
2 years ago
1
Repl won't run def access()
Ask
Entering 'access' causes the elif to run def access (). However, it simply stops working. It doesn't run a single line of def access. Is it a syntax e
2Note System
Python
Read full post
RECENT REPLIES
MrEconomical
MrEconomical 2 years ago
it's because you are prompting the user for input everytime you call input() the first time you prompt is in the if input()=='new' so it checks if it's new, but then if its not it prompts the user for input again which is why it appears to be doing nothing. if you type access twice in a row, you should see that it works. To fix this, get a variable and before the ifs/elifs do x = input() then check if x == 'new' and elif x == 'access'
AtriDey
AtriDey shared a Post
2 years ago
1
PyGame can't import
Ask
I'm trying to learn how to use PyGame, so I'm running code from an online tutorial. Upon running, repl.it couldn't import the PyGame module. A quick G
PyGame Test
Python
Read full post
RECENT REPLIES
Nayoar
Nayoar 2 years ago
Hi! You cannot use PyGame in a normal Python repl. Instead, you need to make a PyGame repl, which is treated by Repl.it as a separate language. Clicking here will create one. Although I've never actually used PyGame myself, let me know if you need any more help! Also, please mark this comment as the answer to your question if I've helped you ;)
AtriDey
AtriDey shared a Post
2 years ago
1
Playsound is broken
Ask
I made a metronome, and motherboard beeps were getting boring. I decided to play a woodblock sound using the playsound function. I don't understand th
Metronome
Python
Read full post
RECENT REPLIES
Geocube101
Geocube101 2 years ago
It appears as though "gi" cannot be imported (The playsound modules failed to import the "gi" module). Try manually importing it using the package installer, or by adding "gi" to the "requirements.txt" file
AtriDey
AtriDey shared a Post
2 years ago
1
I found the fastest way to break Repl.it
Share
I was bored and was playing with exponents. C++ variables hit inf in under a second. I turned to Python and made this monstrosity. Repl.it gets a PyM
PyMark
Python
Read full post
RECENT REPLIES
Highwayman
Highwayman 2 years ago
Hm... 256 == 2^8 One byte can hold up to 2^8 - 1 256^256 == 2^(8^(2^8)) == (2^8)^(2^8) == 2^(8 \* 2^8) == 2^(2^3 * 2^8) == 2^(2^11). 2^10 == 1024, 2^11 == 2048. 2^(2^11) == 2^2048. g d. That’s a lot of bits. That’s a 257 byte integer. The system of repl.it only has a data type as big as 128 bits. 2048 bit integer is like 16 times that size. Yeesh.
AtriDey
AtriDey shared a Post
1 year ago
1
Using the Open Source Godot Game Engine to move a 3D object
Share
After procrastinating doing something productive, I spent a couple hours learning about Godot and GDScript. Now, I have achieved... the ability to mak
Bol :D
HTML, CSS, JS
Read full post