https://slicker.me/javascript/mine/minesweeper.htm
Cool! To make in JavaScript a game! Well, i know nothing about Java. So it is interesting!
You mentioned Java and JavaScript. Java is to JavaScript like a car is to carpet. :-)
The word "Java" in JavaScript was used for marketing purposes...