scala-js-games

Games

browser games

SHOW HN2022

scala-js-games

Simple games ported to Scala 3 – Try them in the browser

github.com

#scala.js#scala 3#browser games#scala migration

70points
25comments
#787of 2,570 in 2022
Top 31%of 2022 by points

How HN took it

QuietFewer than 5 comments about the project

1 positive, 1 neutral or asking, 0 mixed, 2 critical, out of 4 comments about the project.

Performance: 0 for, 2 againstIdea: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Scala.js ecosystem is amazing, sharing code between frontend and backend

    From 1 comment
    • Scala/Scala.js is an amazing ecosystem. It simply astounding being able to take code from the frontend and move it to the backend by simply importing it in a different project.…
      esarbe on HN
  • Scala 2 to 3 migration is fairly easy

    From 1 comment
    • If you're not using macros, moving from Scala 2 to 3 is pretty easy. I have a bunch of 2d games I use in programmable learning environments. This is the commit that did a lot of…
      wbillingsley on HN

Objections

  • Games use 100% CPU and run at low FPS on some browsers

    From 2 comments
    • The games on the live demo eat 100% of a CPU and go down to crawling FPS on my Macbook M1 Pro once I start using the keyboard to control them. Wonder what's going on.
      hombre_fatal on HN
    • Just tried on Windows with Edge, and I'm experiencing this as well.
      crispyalmond on HN

Requests

  • Diff against Scala 2 version

    From 1 comment

Questions

  • Which web backend framework works with Scala

    From 1 comment
    • But what do you use on the backend? What web framework? That you like and works well with Scala Looking forward to one day having ported all my Scala code to 3 :-)
      leaflets2 on HN
  • Which platforms Scala.js UI frameworks target

    From 1 comment

Alternatives named

  • Slinky and Laminar UI frameworks

    From 1 comment
    • For those interested in Scala.js I would recommend two UI frameworks: a) Slinky - https://slinky.dev b) Laminar - https://laminar.dev
      threeseed on HN
  • scalajs-react

    From 1 comment
  • Reagent and Reframe for Clojure

    From 1 comment

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/31885272)