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 » September 18th, 2019, 5:23 am

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: 4306
Joined: January 27th, 2019, 5:54 pm
Location: here
Contact:

Re: Collagol

Post by Moosey » September 18th, 2019, 6:42 am

Neat! It's a little hard to zoom in to the degree where you can draw your own patterns (at least on mobile) though.
not active here but active on discord

Gamedziner
Posts: 795
Joined: May 30th, 2016, 8:47 pm
Location: Milky Way Galaxy: Planet Earth

Re: Collagol

Post by Gamedziner » September 18th, 2019, 7:46 am

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 » September 18th, 2019, 10:08 am

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: 1742
Joined: March 15th, 2016, 6:41 pm
Location: re^jθ

Re: Collagol

Post by Hdjensofjfnen » September 23rd, 2019, 9:08 pm

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.

Code: Select all

x = 5, y = 9, rule = B3-jqr/S01c2-in3
3bo$4bo$o2bo$2o2$2o$o2bo$4bo$3bo!

Code: Select all

x = 7, y = 5, rule = B3/S2-i3-y4i
4b3o$6bo$o3b3o$2o$bo!

User avatar
dvgrn
Moderator
Posts: 10610
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Collagol

Post by dvgrn » September 23rd, 2019, 9:23 pm

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: 1742
Joined: March 15th, 2016, 6:41 pm
Location: re^jθ

Re: Collagol

Post by Hdjensofjfnen » September 23rd, 2019, 9:40 pm

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?

Code: Select all

x = 5, y = 9, rule = B3-jqr/S01c2-in3
3bo$4bo$o2bo$2o2$2o$o2bo$4bo$3bo!

Code: Select all

x = 7, y = 5, rule = B3/S2-i3-y4i
4b3o$6bo$o3b3o$2o$bo!

User avatar
dvgrn
Moderator
Posts: 10610
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Collagol

Post by dvgrn » September 23rd, 2019, 9:50 pm

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: 4306
Joined: January 27th, 2019, 5:54 pm
Location: here
Contact:

Re: Collagol

Post by Moosey » September 24th, 2019, 6:55 am

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.
not active here but active on discord

GUYTU6J
Posts: 2200
Joined: August 5th, 2016, 10:27 am
Location: 拆哪!I repeat, CHINA! (a.k.a. 种花家)
Contact:

Re: Collagol

Post by GUYTU6J » 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.

User avatar
dvgrn
Moderator
Posts: 10610
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Collagol

Post by dvgrn » June 8th, 2021, 6:12 am

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 » June 11th, 2021, 6:36 am

Hi, maintainer here. In theory, if OVH was a good web managment service it would redirect you to http://douady.paris/collagol.html. Which says
Collagol is over !
I'm sorry to announce you that Collagol is over. I had a DigitalOcean droplet which cost 5€ a month, and since the site wasn't getting much attention I didn't feel like paying forever.

I hope you enjoyed it while it lasted (for a year!), and if you want to host an instance yourself, the code is publicly available here:

https://github.com/Uriopass/Collagol

See you :-)

Post Reply