Share your repls and programming experiences

← Back to all posts
Get Your Math IQ
adl212 (119)

Get Your Math IQ

Not sure what your math IQ is? Just run this program!

How it works

Each question asked adds points to your total points. Then, by averaging it, you get the IQ

Side Features

You can also save your scores! Just log in or sign up after getting your score! If you want to add some stuff to the game, just ask me in the comments!

Updates and Fixes

  • Monday, July 27, 2020:
    • fixed saving feature (so that saving works)
    • leaderboard feature (so that leaderboard actually shows up)

Have Fun!

Let's see if anyone can beat my jaw-breaking score of 94.5!

Commentshotnewtop
andrewqiu266 (1)

I just noticed that the leaderboard shows scores above 100 not at the top, but around 1.

adl212 (119)

@andrewqiu266 I believe that is fixed now. The problem was that the list was sorted as a string not as a float. I didn't realize that people could get numbers greater than 100 in this!

SwaroopBappanad (17)

As cool as this is, the #1 leaderboard position IQ, 94.5, is a below average IQ. So what you really did today is prove that everyone here is dumb (I think this was a gag-test, but well done anyway!).

adl212 (119)

@SwaroopBappanad I just called it a IQ but it really is just another number.

StudentFires (341)

@SwaroopBappanad At least they're above room temperature.

TerrorbuildLuna (17)


please explain to me how this is possible, is it magik?

EDIT: I did not inspect the page

adl212 (119)

@TerrorbuildLuna That means you took too long to answer the question. You have 100 seconds to answer a question and the longer it takes to answer one, the less points you have.

adl212 (119)

@TerrorbuildLuna Did you like the game? If you did, don't forget to upvote my project and hard work!

TerrorbuildLuna (17)

@adl212 Ah, ok I see; well, I'll try to do it quicker this time!

realTronsi (1)

You know you're going to fail when you already fail the menu screen

andrewqiu266 (1)

For some reason, after I sign up and I log in after, it says no account found

adl212 (119)

@andrewqiu266 i dont think here is a problem. Maybe just try again?

andrewqiu266 (1)

@adl212 It's still not working

adl212 (119)

@andrewqiu266 Let me check, what is your username?

adl212 (119)

@andrewqiu266 I believe it is now working.

andrewqiu266 (1)

@adl212 This is what it says after I sign up and enter my username and password:

<!DOCTYPE html><html lang="en"> <head> <meta charset="utf-8"> <title>Error</title> </head> <body> <pre>Cannot PUT /b/5f1cb326c58dc34bf5dab520/latest</pre> </body> </html>
adl212 (119)

@andrewqiu266 Ok, I think it works now.

abc3354 (215)

You should use the .env file to store the database key !
https://docs.repl.it/repls/secret-keys

Anyway, I love the project, the user interface is well done !

adl212 (119)

[email protected] the problem us hat if I use a .env file, users cannot save their scores and canoot look at the leaderboard.

firefish (308)

Uh, you call the hard one HARD? it was easy peasy, there should be a really hard challenging one, that actually makes you use pen and paper, for example 649*212 @adl212

adl212 (119)

@johnstev111 Sure, though really sometimes a level can be easier than it should be. What was your score?

MarblesAndMore (43)

Am I genius or super stupid

adl212 (119)

@MarblesAndMore I guess you probably don't want to answer so slowly.

MarblesAndMore (43)

@adl212 Is the score based on how fast the plays gets the question right

adl212 (119)

@MarblesAndMore Yes, and the difficulty and your streak.

lasergmd1 (0)

i have a math iq of 16...

adl212 (119)

@lasergmd1 Maybe you can get a better one?

wantT0befriends (21)

i have one of 5.2 and i got all of them right on a time of 2!

adl212 (119)

@EVANHAN ill look at that. I think here are too many usages on the jsonbin so that it got blocked. But, I currently dont see a problem.

NoNameByProgram (16)

me:
makes a bot to do this and ends this man's career

adl212 (119)

@NoNameByProgram what are you gonna use? The webbot module? The output doesnt show up in the HTML.

NoNameByProgram (16)

@adl212 i really have no idea yet.
i'll decide in the future

NoNameByProgram (16)

@AustinZhang1 page was called, but it returned None. And as it was treated as a URL, it raised an error.

That's my guess, at least.

adl212 (119)

@AustinZhang1 i dont see an error on my side.

adl212 (119)

@DynamicSquid Lol! If you get a good score, don't forget to save it!

potatojs (443)

i got 48 in hard is it good? @adl212

adl212 (119)

@potatojs not really, hard mode just gives you harder questions but awards you more points.

JosephSanthosh (571)

Good Job, where did you get this code?