Day number... um... Tuesday!

I added a series of blue virus cells for the player to vanquish this evening. The player (as the mad scientist) will have to work out how Conway's rules can work to their advantage.

The code is here: https://github.com/davechristian/Conway/blob/master/conway.py and I've uploaded it here, too.

Click any mouse button to add a 'blinker' and press 'x' to drop a virus element onto the grid. This will be done by a basic ai in the final game. Hopefully.

So far I've played around with the game of life more than I've actually coded... it's fascinating.

(log in to comment)

Comments

Do the viruses work with Game of Life rules too?

And how does one kill a virus cell?
The viruses do work by the same rules, yes. You can kill a virus cell by manipulating your cells into 'overwriting' the virus cells. A player cell on the same grid as a virus cell will always destroy it.

I am experimenting with that, though. I may introduce rules that state that when two cells clash it's the cell with the most matching neighboring cells that win ... it's a little more like the 4 existing conway rules.
What would be good with this is if the game starts paused the the player gets to position a certain number of squares and then the sim is played out to see if they won
The missing piece of the gameplay puzzle! I like your thinking, and I'm going to use that idea. Many thanks! I'll credit you and everything.

P.s. If my boss is reading this, I am definitely not doing reading PyWeek discussions during work hours. Honest. 
No problem, looking forward to playing it. I hope my idea is some amount of fun.
Notice how Hugoagogo said "No problem" in response to "If my boss is reading this...".. so Hugoagogo   is davec's boss in disguise!
And yes, I'm reading PyWeek discussions during "work hours" too, but luckily I have no boss at the moment :)

Back on topic, I like Hugoagogo's idea: putting your squares in the right position before the sim starts might prove quite challenging since the evolution of the system is probably hard to predict.
Ha ha! He can't be my boss because he gave me constructive feedback ;).

Thanks for the feedback... I'm looking forward to seeing how this turns out, myself!
Here's another random idea:

Introduce a couple new rules to Conway's Game of Life to shake things up and make it interesting. For example, blue might abide by conway's game of life rules, but red might be a greedy virus, which requires less challenging rules for staying alive, however it is distintegrated by yellow, which has a different set of rules entirely, etc etc

then you can set up puzzles.
Another concept for your consideration: my idea for Daffodils and Tulips was a "Daffodils vs Tulips" MMO  where you can choose where to "seed" in the next generation. Plants compete for resources such as water and sunlight, the most productive giving you more seed for the next generation.

So very similar to Conway's Life but with fuzzier automata rules and continuous in 2D rather than in discrete cells.
"Daffodils vs Tulips" MMO

AWESOME
I love that idea, supejoe. I wish I'd had all these good ideas sooner in the week. I think next time I'll talk about my ideas earlier in the week and get feedback then. It all boils down to time now. I can just about get the 'two cell groups battling' working by Saturday night. However I am planning to turn this into a more fully featured application because I have become totally obsessed with the whole game of life thing and I will definitely include that idea in that app.

And mauve - bitcraft is right... Daffodils vs Tulips MMO would be awesome :). Thats a really good idea - the resources like water and sunglight would add an extra layer of strategy. I like it!