Conway's Game Of Life


Results 1 to 40 of 46

Threaded View

  1. #22


    Did you find this post helpful? Yes | No

    Default Re: Conway's Game Of Life

    I incorporated all those ideas and it is now running at over 13hz v 3hz before. Well done Team!

    The Colour Array is only 8 elements and holds the colour of any adjacent cells to the one being tested.



    Which of these two is technically quickest? Both seem to work well but I haven't got timing set up yet.

    Code:
      Temp = Counter // 32
    
      If Temp = 0 THEN
        lefedge = 1
      ENDIF
    
      IF Temp = 31 THEN
        rigedge = 1
      ENDIF
    or

    Code:
    Temp = Counter & 65504
    If Temp = 0 THEN
    lefedge = 1
    ENDIF
    
    
    IF Temp = 31 THEN
    rigedge = 1
    ENDIF

    Here we have it at 13hz..

    Last edited by retepsnikrep; - 23rd May 2020 at 13:48.

Similar Threads

  1. programming jumping game
    By bokken in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 17th February 2012, 06:40
  2. Simon Game
    By flotulopex in forum Code Examples
    Replies: 1
    Last Post: - 4th November 2010, 06:25
  3. EEPROM life expectancy?
    By muddy0409 in forum General
    Replies: 3
    Last Post: - 1st May 2007, 12:44
  4. home brew game console W interface
    By PICMAN in forum General
    Replies: 1
    Last Post: - 15th March 2005, 22:25
  5. Game port to USB adaptor
    By Squibcakes in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 24th September 2004, 03:16

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts