Parallel Programming 0024 Spring Semester 2010 May 6, 2010 What we do today Master solution mergesort assignment 8 Assignment 9 Game of Life MVC Pattern Swing Tutorial Links – R 9 :: 2 – 0024 Spring 2010 Conway‘s Game of Life Wikipedia: The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970. It is the best-known example of a cellular automaton. – R 9 :: 3 – 0024 Spring 2010 Assignment 9 Solution Demo – R 9 :: 4 – 0024 Spring 2010 GoL Rules Any live cell with fewer than two live neighbours dies, as if by needs caused by underpopulation. Any live cell with more than three live neighbours dies, as if by overcrowding. Any live cell with two or three live neighbours lives, unchanged, to the next generation. Any dead cell with exactly three live neighbours becomes a live cell. – R 9 :: 5 – 0024 Spring 2010 GoL: Glider – R 9 :: 6 – 0024 Spring 2010 GoL: Glider Gun – R 9 :: 7 – 0024 Spring 2010 GoL: Breeder – R 9 :: 8 – 0024 Spring 2010 MVC by Wikipedia – R 9 :: 9 – 0024 Spring 2010 MVC by Sun – R 9 :: 10 – 0024 Spring 2010 Swing Tutorials http://java.sun.com/docs/books/tutorial/uiswing/ http://java.sun.com/docs/books/tutorial/uiswing/compo nents/index.html http://www.mm.informatik.tudarmstadt.de/courses/helpdesk/swing.html – R 9 :: 11 – 0024 Spring 2010 Questions – R 9 :: 12 – 0024 Spring 2010