change the amount of mines variable to how many mines you want. place the purple dots where you want mines will take a little bit to load in while the mines find there place but after that you can play you place them in the background. Code the ending ur self if dont like making levels play the base game.
it was all me