Lemmy for LUS
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@monica_b1998@programming.dev to Programming@programming.devEnglish • 1 year ago

"Goldmine" - an idle game in 200 lines of pure JavaScript

slicker.me

message-square
12
fedilink
  • cross-posted to:
  • programming@programming.dev
  • programming@programming.dev
43
external-link

"Goldmine" - an idle game in 200 lines of pure JavaScript

slicker.me

@monica_b1998@programming.dev to Programming@programming.devEnglish • 1 year ago
message-square
12
fedilink
  • cross-posted to:
  • programming@programming.dev
  • programming@programming.dev
alert-triangle
You must log in or register to comment.
  • @agentsac@lemmy.world
    link
    fedilink
    15•
    edit-2
    1 year ago

    There’s a weird bug where you can get four workers per shaft. The ‘hire worker’ button at the end of the shaft disappears after you hire your third worker, but if you click where the button was, you will get a fourth worker for free.

    • @monica_b1998@programming.devOP
      link
      fedilink
      8•1 year ago

      thanks for letting me know! i’ll have to fix it when i get a chance.

    • @monica_b1998@programming.devOP
      link
      fedilink
      3•1 year ago

      I found the problem - there should be no “=” in this part of line 222: shaft.workers.length <= shaft.max_workers

      i’ll update it on the website tomorrow. thanks for catching that! Somehow I hadn’t tested clicking an invisible button…

  • @alqloe@lemmy.dbzer0.com
    link
    fedilink
    English
    11•1 year ago

    I put 3000 workers in each shaft and now it lags. pls fix

    • @monica_b1998@programming.devOP
      link
      fedilink
      13•1 year ago

      i see on the screenshot you have a lot of cash, maybe buy a faster processor? ;-)

  • key
    link
    fedilink
    English
    9•1 year ago

    There’s a bug! You can click buttons once after they disappear.

  • @PixeIOrange@lemmy.world
    link
    fedilink
    6•1 year ago

    I did it!

    • @monica_b1998@programming.devOP
      link
      fedilink
      4•1 year ago

      congrats!

Programming@programming.dev

!programming@programming.dev
Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



  • 35 users / day
  • 134 users / week
  • 501 users / month
  • 1.83K users / 6 months
  • 3 subscribers
  • 1.35K Posts
  • 17.3K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • @MaungaHikoi@lemmy.nz
  • @UlrikHD@programming.dev
  • BE: 0.18.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org