LemmyOHIO
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
monica_b1998@lemmy.world to Programming@programming.dev · 1 day ago

Minesweeper game in 100 lines of pure JavaScript

slicker.me

external-link
message-square
6
link
fedilink
35
external-link

Minesweeper game in 100 lines of pure JavaScript

slicker.me

monica_b1998@lemmy.world to Programming@programming.dev · 1 day ago
message-square
6
link
fedilink
JavaScript tutorial - Minesweeper game
slicker.me
external-link
alert-triangle
You must log in or # to comment.
  • Ludicrous0251@piefed.zip
    link
    fedilink
    English
    arrow-up
    13
    ·
    1 day ago

    “Coding this game in JavaScript is a lot of fun”

    Quote provided without comment.

  • lascapi@jlai.lu
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    22 hours ago

    Nice, the code is very clear !

    • monica_b1998@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      17 hours ago

      thanks for the compliment!

  • 🔷️🌿🌼🌿🔷️@sh.itjust.worksBanned from community
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    2
    ·
    1 day ago

    Removed by mod

    • Dave@lemmy.nz
      link
      fedilink
      arrow-up
      3
      ·
      1 day ago

      Couldn’t most people here could do it in one? The code is in the post and newlines can be removed like in minified javascript.

      • monica_b1998@lemmy.worldOP
        link
        fedilink
        arrow-up
        6
        ·
        1 day ago

        technically yes, although i use the “1 instruction per line” rule and give the number so that readers have a rough idea of the complexity of the solution

    • bloubz@lemmygrad.ml
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      Sure, value code minimal length, this is an exceletent idea. Just as much as Musk firing twitter devs who wrote fewer lines

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

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



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 191 users / day
  • 1.18K users / week
  • 2.82K users / month
  • 2.84K users / 6 months
  • 1 local subscriber
  • 24K subscribers
  • 233 Posts
  • 1.26K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • MaungaHikoi@lemmy.nz
  • UlrikHD@programming.dev
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org