For our GUI course project we implemented our own version of mathematician John Horton Conway's 'The Game of Life', it is a cellular automation built using JAVA swing library and the model-view-controller(MVC) software design pattern.
Our version of the Game of Life sports a GUI shown below.
The yellow cells represent a live cell while grey is dead. There are a group of controls that allow users to control the game. The following are the functions of each control.
- Shape: user can select one of several initial configurations.
- Next: executes one simulation step
- Play: causes the Life simulation to advance automatically, disables the next and changes
- Speed: user can change the speed of the automation
- Scale: user can zoom in and out to display a smaller or larger grid
- Edit: user can select individual cells to toggle it between yellow and grey
Project is created with:
- NetBeans IDE 8.2
- jawa swing library