The End is Nigh…

Introduction: Matters of Life and Death

Document It: The Death fight

  • You have been challenged to a gun fight on the mean streets of Bourne.
  • There are three combatants - you, James Bond and James Bourne, a local boy.
  • Each of you has one bullet.
  • The chances of you hitting anything is 1%. You see yourself more of an lover and than a fighter.
  • Bond hits his target 85% of the time.
  • Bourne hits his target 99%.

Decision Time

  • You go first…
  • Who do you aim for and why?
  • What is the best play for you to make?
  • Can you explain it?

Badge It Silver

Write up your thoughts on the Gun fight:

  • What are your choices?
  • What should you do?

Learn It: The Game of Life

The scenario:

  • The Game of Life is in short a simulation of a group of cells. At every step in time, often referred to in the game as a tick, cells live or die depending on their surroundings.
  • There are four rules which are applied simultaneously to all the cells in the game:
  • Any live cell with fewer than two live neighbours dies, as if caused by under-population.
  • Any live cell with two or three live neighbours lives on to the next generation.
  • Any live cell with more than three live neighbours dies, as if by overcrowding.
  • Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

Video here?

We are going to tackle this in 4 parts:

  • Stage 1 - Creating a blank pygame screen.
  • Stage 2 - Creating a blank grid on the pygame screen.
  • Stage 3 - Creating random coloured cells on the screen.
  • Stage 4 - Working Game of Life.

Code It: Stage One

  • Lots of details here.

Code It: Stage Two

  • Lots of details here.

Code It: Stage Three

  • Lots of details here.

Code It: Stage Four

  • Lots of details here.

Badge It: Gold / Platinum

  • Code your game. Add a screenshot of your code and the output.

-Explain what is happening:

The quality of your written answer will determine whether you are awarded Gold or Platinum.