I have implemented this single player game during this lockdown sadly as I was dying to go outside.
If you don't know what game of life is and you are less than 20 then you are a just a kid you won't get what life is about(PS- It gets tougher as you get old!!). Or you can just go to this Wikipedia link and also can check out the patterns mentioned there.
I have also implemented in an infinitely growing array and not neglecting what is happening outside the display screen.
Main class is GameOfLife.java
I have made the UI which will first ask you to fill these:
Then you can select the initial live cells in your input grid which I have made through JCheckBox:
Here I have basically given an infinitely growing input and then just click on submit and watch as the magic happens.