Could someone help me write code for the game of life in python 2.6. I am a beginner to programming, and I know how to use lists and have functions from a function library that include: setupgame()- which creates a grid,state=isAlive(cell),
num=countNeighboursAlive(cell)in the neighbourhood, newState=decideState(state,num) stating whether the cell should be alive or dead, and setState(cell,state)- allowing the cell to change to a new state and displayBoard()- to display the grid. Thanks.
James0l9l 0 Light Poster
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
James0l9l 0 Light Poster
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
James0l9l 0 Light Poster
James0l9l 0 Light Poster
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
James0l9l 0 Light Poster
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
James0l9l 0 Light Poster
James0l9l 0 Light Poster
James0l9l 0 Light Poster
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
James0l9l 0 Light Poster
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
James0l9l 0 Light Poster
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.