Recent Comments
No comments to show.
Monthly Archives: June 2024
Minesweeper Clone (Java Edition)
Java Edition “New Game” button creates a new game. The “Continue” button loads the progress from a selected “progress” file. The “Save Progress” saves progress to a selected “progress” file. “Save Board” saves the mine placement to a selected board … Continue reading
Posted in Uncategorized
Leave a comment
Minesweeper Clone V2
I made it so spaces with no mines adjacent are empty instead of 0 and that clicking those spaces autofills the surrounding spaces.
Posted in Uncategorized
Leave a comment
Solving the “Pile of Cubes” problem (Python)
The problem:Suppose you make a tower of cubes, where each one has edge that’s one inch shorter than the one below it until you reach the 1x1x1 cube. If N is an integer and the side length of the base cube is N, … Continue reading
Posted in Uncategorized
Leave a comment
Taking in a two-dimensional array to output minesweeper values (Python)
Everyone know what the game minesweeper is. This function I wrote takes in a two-dimensional array (where 0 is a clear space and 1 is a mine) and outputs an array representing the number of nearby mines for each spot … Continue reading
Posted in Uncategorized
Leave a comment