Saturday, October 31, 2015

Let's make Life game 1

Do you know "life," the game? Life game isn't Jinsei game. Life game is a simulation game made by a mathematician.
The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970.
The "game" is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input. One interacts with the Game of Life by creating an initial configuration and observing how it evolves or, for advanced players, by creating patterns with particular properties.
-Wikipedia Conway's game of life
We will make this gama with java as a practice.

Download things we need for the Swing 

We will make the game with Swing. To use Swing, we need to prepare some things. At first, run your Eclipse.

Click "Help" and then "Install New Software"


2, Inside the box named "Work with:", copy this URL:http://download.eclipse.org/releases/mars/ and paste it to the box (If you are using Kepler, then write "http://download.eclipse.org/releases/kepler/". The URL which you need changes depending on the version of Eclipse). Then you will see the display will be changed like this:

In the below box, find "General Purpose Tools".


Inside the General Purpose Tools, find Swing Designer and Swing Designer Documentation and check both of them. 
Then click next.

You will see this display:

Just click "next" again.

Now you will see this:


Please check "I accept the terms of the license agreement" after reading it and click "Finish".

After finishing the download, you need to restart the Eclipse. When you finish restarting, now you can use SwingDesigner.