Collagol

For general discussion about Conway's Game of Life.
Post Reply
Uriopass
Posts: 3
Joined: September 18th, 2019, 4:37 am

Collagol

Post by Uriopass »

Collagol stands for Collaborative Game of Life, and is pretty much multiplayer GoL.

It's not a game, it's just an editable and shared online GoL world on a 2000x2000 torus. It runs at 5 gen/s all the time.
I didn't see anything like it after looking a bit online so there it is.

It supports RLE importing, has a few default patterns, has a few shortcuts for flipping and rotating, and there's a chat. You can also share a position using the URL (that updates when you move/zoom).

Link: https://collagol.douady.paris/

It's open source if you want to check out how it works, it uses Golang and vanilla JS: https://github.com/Uriopass/Collagol.

I worked it to a state where I'm happy about it, so I won't take big feature requests although PRs are welcome :) .

What do you think about it ?
User avatar
Moosey
Posts: 4314
Joined: January 27th, 2019, 5:54 pm
Location: almsworth uk
Contact:

Re: Collagol

Post by Moosey »

Neat! It's a little hard to zoom in to the degree where you can draw your own patterns (at least on mobile) though.
κ is measurable iff there is a nontrivial elementary embedding j:V→M (M transitive) with critical point κ
Gamedziner
Posts: 795
Joined: May 30th, 2016, 8:47 pm
Location: Milky Way Galaxy: Planet Earth

Re: Collagol

Post by Gamedziner »

It seems to keep a single cell on an empty board two generations after being drawn. Is this a bug?

Code: Select all

x = 81, y = 96, rule = LifeHistory
58.2A$58.2A3$59.2A17.2A$59.2A17.2A3$79.2A$79.2A2$57.A$56.A$56.3A4$27.
A$27.A.A$27.2A21$3.2A$3.2A2.2A$7.2A18$7.2A$7.2A2.2A$11.2A11$2A$2A2.2A
$4.2A18$4.2A$4.2A2.2A$8.2A!
Uriopass
Posts: 3
Joined: September 18th, 2019, 4:37 am

Re: Collagol

Post by Uriopass »

It seems to keep a single cell on an empty board two generations after being drawn. Is this a bug?
Not a bug, this is what's happening:
- Cell is sent to the server and drawn on the board locally
- Cell is received by the server and put ON for the next generation
- The map updates and is sent to the clients with the cell as ON, looking like it was the second generation that the cell is alive.
- Another update is done and map is sent to the clients, cell is OFF.
Neat! It's a little hard to zoom in to the degree where you can draw your own patterns (at least on mobile) though.
Thanks :D, and yes mobile use is not optimal. I didn't want to put too much effort in making it mobile friendly, as it pretty much doubles the frontend work.
User avatar
Hdjensofjfnen
Posts: 1766
Joined: March 15th, 2016, 6:41 pm
Location: Pacific Time

Re: Collagol

Post by Hdjensofjfnen »

This is an interesting concept that I've thought about before, but I've never thought of it quite in this way. I was thinking clearing the board could be removed, and erasing patterns could be limited.
User avatar
dvgrn
Moderator
Posts: 11981
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Collagol

Post by dvgrn »

Hdjensofjfnen wrote:This is an interesting concept that I've thought about before, but I've never thought of it quite in this way. I was thinking clearing the board could be removed, and erasing patterns could be limited.
Don't know about that, given that the shared space is quite full of random ash at the moment. I haven't been able to clear the board and start over, either by clicking the Clear the Board button or by scribbling with the eraser. As soon as I get started, the number of users online goes from 1 to 0, and whatever changes I make seem to have only a local effect -- they don't get sent back to the server, and the next time I reload the changes are gone again.

The universe got that full, by the way, by some troublemaker (um, well, it was me) clearing the board, pasting in a custom LongLine pattern, waiting a few ticks, then pasting another LongLine in some distance away... and then eventually finding a small open space and dropping in a glider. This has very exciting results, but Collagol seems to start to find the expanding chaos to be a significant challenge after a while.
User avatar
Hdjensofjfnen
Posts: 1766
Joined: March 15th, 2016, 6:41 pm
Location: Pacific Time

Re: Collagol

Post by Hdjensofjfnen »

dvgrn wrote:... whatever changes I make seem to have only a local effect -- they don't get sent back to the server, and the next time I reload the changes are gone again.
Are addition changes also local? I made a loaf into a mold near the centre of the simulation.
EDIT: I don't see the bug you're seeing. I cleared a large swath with the eraser around the mold, so can you see that?
User avatar
dvgrn
Moderator
Posts: 11981
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Collagol

Post by dvgrn »

Hdjensofjfnen wrote:I don't see the bug you're seeing. I cleared a large swath with the eraser around the mold, so can you see that?
Yes, but I can't clear anything else or add anything else. Apparently the key symptom is that the number of users goes from 1 to 0 for me, before I can make any changes. Eventually the various oscillators stop moving sometimes.

Must be just me -- maybe I got banned for dropping evil LongLines into the universe. (But someone else should clear the board and try it...)
User avatar
Moosey
Posts: 4314
Joined: January 27th, 2019, 5:54 pm
Location: almsworth uk
Contact:

Re: Collagol

Post by Moosey »

dvgrn wrote:
Hdjensofjfnen wrote:This is an interesting concept that I've thought about before, but I've never thought of it quite in this way. I was thinking clearing the board could be removed, and erasing patterns could be limited.
Don't know about that, given that the shared space is quite full of random ash at the moment.
We could have a button reading "vote to clear the board" or something along those lines so that nobody can abuse the clear the board thing but we could still collectively do it.
κ is measurable iff there is a nontrivial elementary embedding j:V→M (M transitive) with critical point κ
GUYTU6J
Posts: 2200
Joined: August 5th, 2016, 10:27 am
Location: 拆哪!I repeat, CHINA! (a.k.a. 种花家)
Contact:

Re: Collagol

Post by GUYTU6J »

Sorry to bump the thread, but the site has been down for me currently. Can anyone retrieve it?
I remember having put one of my repeat waves inside the universe back in 2019 though.
User avatar
dvgrn
Moderator
Posts: 11981
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Collagol

Post by dvgrn »

GUYTU6J wrote: June 7th, 2021, 11:53 pm Sorry to bump the thread, but the site has been down for me currently. Can anyone retrieve it?
I remember having put one of my repeat waves inside the universe back in 2019 though.
I hadn't tried to visit the site for a while, but it's down for me as of this morning.
Uriopass
Posts: 3
Joined: September 18th, 2019, 4:37 am

Re: Collagol

Post by Uriopass »

It's up again!
Post Reply