Introduction to Computer Programming

Lab A: two-dimensional lists

Instructions

Try out Conway’s Game of Life.

Download and unzip the starter archive. Use IDLE to open labA_examples.py in the labA folder. Read the functions defined in that file and experiment with using them. In particular, try:

    >>> graphic_loop_example()

Included in the labA folder is a runnable solution module called labAx.py. You can use it to see the final “game” result:

    >>> import labAx
    >>> labAx.game()