ljvmiranda921 / seagull

A Python Library for Conway's Game of Life
https://pyseagull.readthedocs.io/en/latest/index.html#
MIT License
175 stars 28 forks source link

Add new Lifeforms #33

Open ljvmiranda921 opened 4 years ago

ljvmiranda921 commented 4 years ago

We can definitely increase the number of our premade lifeforms in Seagull. I only started with a few, but in LifeWiki there seems to be a lot more!

Will need some help on this, any takers? You can add 1 or 2 from LifeWiki, I can help you along the way! https://conwaylife.com/wiki/Main_Page

How to start

Choose a fun Lifeform from LifeWiki: https://conwaylife.com/wiki/Main_Page then comment it here. Once I gave the go signal or a thumbs up 👍 , then just make a PR! You can simply copy how other Lifeforms were implemented in Seagull. I can guide you along the way!

asadafasab commented 4 years ago

hello @ljvmiranda921 so is this ok? https://conwaylife.com/wiki/Figure_eight

ljvmiranda921 commented 4 years ago

Hi @rudolf333 , that looks cool! Ok go ahead and add it in!

That one is an Oscillator, so you can put it here: https://github.com/ljvmiranda921/seagull/blob/master/seagull/lifeforms/oscillators.py

You can first follow how other lifeforms were implemented! In case you are stuck, feel free to message me here :)

theodumont commented 4 years ago

Hello @ljvmiranda921 ! Would this be ok? https://conwaylife.com/wiki/Beacon

ljvmiranda921 commented 4 years ago

Hi @theodumont , welcome to Seagull, sure go ahead! I think it's also an oscillator, so please put it here: https://github.com/ljvmiranda921/seagull/blob/master/seagull/lifeforms/oscillators.py

Let me know if you ran into problems so I can help you out!

MCSocrates commented 4 years ago

Hey, @ljvmiranda921. Would it be cool if I did this one? https://conwaylife.com/wiki/Muttering_moat_1

ljvmiranda921 commented 4 years ago

Oh wow that looks awesome @MCSocrates ! Please go ahead, it's an oscillator, so please put it here: https://github.com/ljvmiranda921/seagull/blob/master/seagull/lifeforms/oscillators.py

Mushguys commented 4 years ago

Hey @ljvmiranda921, I'd like to try this one. It's another oscillator, sorry. https://conwaylife.com/wiki/Pentadecathlon

ljvmiranda921 commented 4 years ago

Sure go ahead, @Mushguys !

richanawani commented 4 years ago

Hi @ljvmiranda921 I would like to try these two

  1. https://conwaylife.com/wiki/Switch_engine
  2. https://conwaylife.com/wiki/Eater_1
ljvmiranda921 commented 4 years ago

Hi @richanawani go ahead!

lfehertoi99 commented 3 years ago

Hi! Can I add "Big Glider"? https://conwaylife.com/wiki/Big_glider :)

ahoward-cf commented 3 years ago

Hi @ljvmiranda921 I would like to add the Cha cha oscillator:

  1. https://www.conwaylife.com/wiki/Cha_cha

I would also like to add the Century and Thunderbird Methuselahs, but as they do not return to their starting shape, and there are a lot of Methuselahs, I wanted to check before doing anything with them as it might require a new sub-class of lifeform. If you agree, I would also like to give that a go.

  1. https://www.conwaylife.com/wiki/Century
  2. https://www.conwaylife.com/wiki/Thunderbird
ljvmiranda921 commented 3 years ago

Hi @ahoward-cf , I think Methusela's should still work. Give it a try with the current one and let's iterate in case something goes wrong :+1:

I suggest making separate PRs for each. Let's do the oscillator first, then after merging let's work on the other two.

Ravioli45 commented 3 years ago

Hi @ljvmiranda921 can I try adding Copperhead? https://conwaylife.com/wiki/Copperhead

ljvmiranda921 commented 3 years ago

Sure @JoCoderr , please go ahead!