Skip to content

Instantly share code, notes, and snippets.

View ianfleeton's full-sized avatar

Ian Fleeton ianfleeton

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ianfleeton on github.
  • I am ianfleeton (https://keybase.io/ianfleeton) on keybase.
  • I have a public key whose fingerprint is E973 5D83 6FE2 360D 992D FADD B91A 9691 81C2 E037

To claim this, I am signing this object:

@ianfleeton
ianfleeton / MineSweeper.java
Last active February 1, 2024 21:31
Minesweeper map generation in Java
// Save this as MineSweeper.java
// compile with this command
// javac MineSweeper.java
// then run with this command
// java MineSweeper
// We need this for random numbers.
import java.util.Random;
class MineSweeper {