Skip to content
← Back to Community
A simple idle game
Profile icon
[deleted]

This is something I did pretty quick and it's pretty simple, so if you want to post some feedback in the comments, that would be appreciated!

As I said, it's pretty simple, but for an eleven-year-old, it's pretty good!

Quick update:
I was going to add a patchnotes thing at the start that goes away, but I was cut short by the end of class. I'm currently on a different computer that doesnt have the clipboard saved or the original html, so I can't fix it right now.

Voters
Profile icon
arttechnj
Profile icon
vkxleTTV
Profile icon
Fr33zw
Profile icon
AphixDev
Profile icon
Amanthegamer54
Profile icon
TylerBernardo
Profile icon
aya3
Profile icon
Targett
Profile icon
JordanSutcliffe
Profile icon
20194819
Comments
hotnewtop
Profile icon
RayvelArjoon

If you take computer studies, computer science, or computer engineering, they teach you a lot of the cooler things you can do with programs. I suggest taking these courses through grade 10, as that's exactlly what I did. It makes creating your own programs and games easy. Those classes even helped me create my own version of "Asteroid". Your still pretty young, but you did a good job!

Profile icon
RayvelArjoon

Add some sort of animation on the side for every time you click something.

Profile icon
[deleted]

@RayvelArjoon I was thinking of this, but my knowledge of Javascript/CSS isn't at the level that would be needed to have the animation.

Remember, I'm only eleven years old!

Profile icon
Smartystuff

@nulll If you would want to animating a website. I would reccomend learning jquery

Profile icon
ThomasS1

Nice work!

image
I can relate... except for the chromebook bit sadly!! Impressive to make this so quickly though!

Profile icon
HenryZelonka1

@ThomasS1
I have a chromebook:(

Profile icon
LeoA1

Very good!

Profile icon
eevee444

This is amazing!

Profile icon
Yuahde

this really is amazing compared to all my works

Profile icon
[deleted]

@Yuahde Thank you!

Profile icon
Westofer

@nulll wow that is very very good work
I hope I started when I was in school

Profile icon
axelduch

Nice! You might want to use something else than a button for money up, the enter key isn't disabled to get money without releasing it. Either that or catch keyCode 13 and cancel the event, but this way would require to modify some js

Profile icon
[deleted]

@axelduch

Either that or catch keyCode 13 and cancel the event...

Added that.
EDIT: Wait hold on I broke something.
EDIT: I'm tired and my brain won't let me think of how to fix it. If you want to fork it and send the link, that would be appreciated.

Profile icon
axelduch

@nulll https://repl.it/@axelduch/SimpleIdleGame-1

Just some ids mismatching/missing on the HTML side, being tired never helps!
Also, the problem hasn't disappeared regarding the "enter" key

Profile icon
[deleted]

@axelduch Thank you and I was able to prevent the enter key by using some jQuery (which I don't really like, but it was the only way I could find to prevent the keypress).

I'm actually starting to use jQuery a bit more.

Profile icon
axelduch

@nulll Nice job buddy!

Profile icon
SkillsPlays

Game kind of plays itself after a minute of playtime, I recommend nerfing the upgrades by a lot.

Profile icon
[deleted]

@SkillsPlays

I recommend nerfing the upgrades by a lot.

I upped the prices of the upgrades.

Profile icon
RobertFurr

My friend is attempting an idle game, but it will be based on Universal Paperclips

Profile icon
[deleted]

i clicked it for 40 min until my teacher catched me

Profile icon
[deleted]
Profile icon
JosMag2019

suci3rf=0ibthybth

Profile icon
EliseFale
Profile icon
[deleted]

@EliseFale What didn't work?

Profile icon
EliseFale

@nulll
The Thing. But I tried it again and then it worked thnx though

Profile icon
firefish

Ermm.... I tricked it, I'm rich. Paste

var i; for (i = 0; i < 50000; i++) { document.getElementById('moneyUp').click(); }

into the console and you are rich... (just some js that clicks the button 5000 times)

Profile icon
[deleted]

@johnstev111 That is a for() loop, but I usually just use

function spam() { moneyUp.click(); updateMoney(); }; setInterval(spam, 1);
Profile icon
firefish

@nulll They both work, but they still DESTROY the game... another trick is just money = 9.9e+20;.

Profile icon
ckruger097

This reminds me of an old game that was popular when I was in high school called Cookie Clicker. Simple yet addicting. Good job.

Profile icon
hbelkin1ims

when I try to upgrade my "money per click" it takes too long

Profile icon
mewant_taco

Autoclicker. BOOM

Profile icon
[deleted]

@mewant_taco You can use auto clickers with basically every idle game.

Profile icon
JavasLava

im 12 and I can't even begin to do this, Good Job!

Profile icon
kedwin919

it takes me so long to get $500 to upgrade....

Profile icon
DevTops

Good job for an eleven year old! I working mainly the cromebooks at school too. I would suggest using css more, and getting better at layout. But still a great jon.

Profile icon
[deleted]

@DevTops I decided to switch from custom CSS buttons to Bootstrap buttons.

Profile icon
DevTops

@nulll good job!

Profile icon
ryansoccer38

Nvm figured it out

Profile icon
ryansoccer38

Doesn't work

Profile icon
[deleted]

@ryansoccer38 What doesn't work?

Profile icon
MaddoxReynolds

THis hard can you make easier

Profile icon
[deleted]

@MaddoxReynolds It's supposed to be hard.

Profile icon
SaptarshiHalder

Open console and type
Opera Snapshot_2019-10-22_190821_repl.it
Then see the magic in the game. I love to crack codes.

Profile icon
OreOlad2

Could use an animated background.
Good though.

Profile icon
[deleted]

I just checked in on this after the weekend and holy mother of god I wasn't expecting this to get this big! Thank you so much!

And by the way, there isn't even a class in my school where you actually code (not block coding) in, so most of the knowledge that I have either comes from tutorials or self-learning.

Profile icon
Roger34

Good Job

Profile icon
HackermonDev

javascript: money = 1000000000000000000000000000000;

Profile icon
[deleted]

I was going to use jquery, but I just don't really like it.