Java being dead as a way to run apps is true outside of special cases.
In today’s world, you should write anything as a web app/page unless you know of a specific reason not to. For a thing like this, it’s especially important as it means the potential user doesn’t have to install anything, and doesn’t have to trust you. This removes barriers: they can click a link someone gave them and be playing.
Having to use JavaScript can be obnoxious because it gives you more ways to make mistakes and get cryptic failures, but on the upside it can be a lot more concise sometimes — requiring less detailed work before you have something that does what you want. (Fun fact: JavaScript has “Java” in the name for marketing reasons and no other.)
Loudly agreeing with other comments:
Java being dead as a way to run apps is true outside of special cases.
In today’s world, you should write anything as a web app/page unless you know of a specific reason not to. For a thing like this, it’s especially important as it means the potential user doesn’t have to install anything, and doesn’t have to trust you. This removes barriers: they can click a link someone gave them and be playing.
Having to use JavaScript can be obnoxious because it gives you more ways to make mistakes and get cryptic failures, but on the upside it can be a lot more concise sometimes — requiring less detailed work before you have something that does what you want. (Fun fact: JavaScript has “Java” in the name for marketing reasons and no other.)