Share your repls and programming experiences

← Back to all posts
Code Clicker - Incremental Idle Game
Makrayne (61)

Simple clicker game. A work-in-progress. I will add more features. Any feedback, constructive criticism, and tips are welcome! Please report any bugs in as much detail as possible.

Credits:
Original Design & Programming - @Makrayne
Programming & Design Help - @3465728974563

Commentshotnewtop
BoltonBoi (3)

I noticed if i buy one minimum wage employee it gave me five lol.

SilentShadowBla (500)

Yes, same here but cool game! @BoltonBoi

Makrayne (61)

@BoltonBoi It's supposed to do that. I couldn't figure out a way to make it equal to 5 clicks without it giving you 5 employees. (≧ω≦)

3465728974563 (50)

@Makrayne you can change the setInterval rate to 200 so that it gives one every 1/5 second, making it give 5 per second. Then you won't have to make it give 5.

Makrayne (61)

@3465728974563 Thanks for the tip! I'll implement it right away. (≧ω≦)

3465728974563 (50)

@Makrayne Hey so I had an idea. I'm somewhat decent at html, css and javascript and I was wondering if you would like to do a collab. I could help you update this game and fix any bugs that there are. Interested?

Makrayne (61)

@3465728974563 I'd love that! I'm not very good at CSS or page formatting so would you be fine with helping with that?

3465728974563 (50)

@Makrayne Sure! Just invite me to the project and then we can chat in the little chat room and you can tell me what you want me to do / fix.

DeBeast591 (126)

When I buy a 'blank' wage employee, it changes to the number I have, it would be cool to see the next price for the employee.

Roar123 (166)

Great job! I like the vertical interface but clicking the "Code Clicker" link redirects you to a horizontal view where the title is overlapped by the first button. To fix this simply, change margin-top: 15px; to margin-top: 50px; in the aligner-item class. I would recommend cleaning up the interface in the 2index html and css files (I can see what you titled the folder "Modify This"), but great work overall!

Makrayne (61)

@Roar123 Thanks! I fixed it. (≧ω≦)

hazelpy (7)

add this to the end of the page, it's an edge case fix

document.addEventListener("keydown", (e) => {
  if (e.keyCode == 32) {
    e.preventDefault();
  }
});

if you dont, the player can click the button and hold enter to spam.

3465728974563 (50)

@hazelpy Actually the enter keycode is 13. Space is keycode 32.

hazelpy (7)

@3465728974563 Oops, yeah, small mistake

sycrepl (10)

Hey, index.html line 70 end the comment.
Edit: line 71
Edit 2: line 53, geez

NoureniMama_Sam (0)

Very nice. I didn't see any bugs. The only thing I can say is to add more, like medium wage employee and high wage employee.

Makrayne (61)

@NoureniMama_Sam I'm going to work on that soon but I'm currently trying to make it look better. (≧ω≦)

pipythonmc (3)

@NoureniMama_Sam I used the command (in the console) "locClick(1000000)" to give myself a ton of lines of code, and it seems that medium and high wage employees have been added!

Makrayne (61)

@pipythonmc They were! I quickly realized that I'm horrible at CSS and decided to just add them in. (≧ω≦)

pipythonmc (3)

@Makrayne I actually love your game's color theme! It looks great! You might want to put the code a line button in the center of the screen, with the buy buttons on a separate sidebar or next to each other at the bottom.

Makrayne (61)

@pipythonmc Thanks for the idea! I'll try to do that.(≧ω≦)

pipythonmc (3)

Awesome game! I would love to see more development on this!

Makrayne (61)

@pipythonmc Thank you! I'm currently working on the graphics but I'm going to add more features soon. (≧ω≦)

JaMeSg95 (2)

Really interesting!

ipastrano (96)

This is fun! You have my upvote!

3465728974563 (50)

@AdCharity Yeah I was confused as well. I'm pretty sure that you don't pay interns. If you want I can change that.

Makrayne (61)

@AdCharity There actually are paid internships. They're not as common as unpaid but they are a thing (At least in the US). (≧ω≦)

3465728974563 (50)

@AdCharity Hey AdCharity are you a staff member or just really REALLY active? Like I see you everywhere.

AdCharity (1113)

@3465728974563 uh I wish I was a staff member but I'm just active

3465728974563 (50)

@AdCharity Well then you are a madman.

3465728974563 (50)

@AdCharity Congrats on reaching 1000 of whatever the number is supposed to be.