IMOJC by Tesseract

[raw]
made by Tesseract for Ludum Dare 46 (COMPO)

Massively multiplayer Game of Life. Keep cells of your color alive. Your color is the border of the webpage.

Controls: click, arrow keys or middle mouse+drag, scroll wheel (and a poor touch interface)

You begin with a square of your own color - you can only add black cells, but they can be used to grow your square - when a cell is born, it will be the color of the majority of its neighbours (or black if there is no majority).

The post-ld version has much better touch support, a smaller world so you might notice if someone else is playing at the same time and tracks the number of your cells alive. Rate based on the original, but use the latter if you're on a touchscreen or just want to have fun. Screenshot_2020-05-08 In Memory of John Conway(2).png

Ratings

Overall 802th 3.104⭐ 26🧑‍⚖️
Fun 997th 2.521⭐ 26🧑‍⚖️
Innovation 236th 3.667⭐ 26🧑‍⚖️
Theme 606th 3.583⭐ 26🧑‍⚖️
Graphics 982th 2.5⭐ 25🧑‍⚖️
Given 34🗳️ 13🗨️

Feedback

binroot
20. Apr 2020 · 03:55 UTC
RIP John Conway. Great tribute, and new concept!
syo
20. Apr 2020 · 10:45 UTC
Oh, this idea came to my mind, but I never tried !. Thanks for trying!
jabdownsmash
20. Apr 2020 · 18:16 UTC
RIP Conway :pray:

Very cool concept, it's a fun little twist on multiplayer paint systems. I like that I can't draw too many squares at once, it makes it feel more collaborative (or something). I know that the black areas are where people managed to actually draw black instead of clicking once or twice.
🎤 Tesseract
20. Apr 2020 · 22:39 UTC
@jabdownsmash You can make a black pattern solo if the ones you create don't die immediately (colored cells can help them survive ). Black cells can also arise where 3 different colors meet.
BlipBloop
21. Apr 2020 · 01:03 UTC
This is really cool! Excellent work and a great tribute!
Phlip45
21. Apr 2020 · 19:10 UTC
I spent way too long playing this game. It'd be interesting to add a sort of build phase where the simulation pauses and you can build some structures before the simulation resumes. I accidentally scrolled out and that seems to ?lag? things pretty severely. Had to restart at that point.
Lars-Erik
21. Apr 2020 · 20:20 UTC
MMO CGOL is a brilliant idea. Well done!

And RIP. 😭
🎤 Tesseract
22. Apr 2020 · 23:26 UTC
It seems like I'm not the only person to do something based on the Game of Life. If you liked this, you should check the others out - they are great and take the idea in very different directions.

- https://ldjam.com/events/ludum-dare/46/life-1/
- https://ldjam.com/events/ludum-dare/46/life/
- https://ldjam.com/events/ludum-dare/46/conways-garden-of-life/
- https://ldjam.com/events/ludum-dare/46/game-of-life
- https://ldjam.com/events/ludum-dare/46/golkia
- https://ldjam.com/events/ludum-dare/46/life-42-cells
- https://ldjam.com/events/ludum-dare/46/life-alive

If you know of any others, please tell me about them.
🎤 Tesseract
22. Apr 2020 · 23:53 UTC
@philip45, I kind of like the constraint of only adding one cell per step. Also, as it currently is, you can only add black cells, so adding too many at once would make it harder for your color to survive (which is supposedly the goal :) ).

I'm sorry about zooming - if you scroll up and wait a minute, it usually catches up with rendering, but there are 2 things I should have changed to stop it freezing in the first place - firstly, I did put a limit on zoom level, just didn't make it strict enough (you can zoom out to 1 pixel per cell). Secondly, I redraw the whole thing on each event that could change things. This works great when changes happen less often than rendering takes (if you're not doing anything, it's once per second), but it's a problem when scrolling rapidly and rendering takes ages due to the scale. I've realized that I should have been running something about 1000 times a second that checks a boolean and redraws if it needs to. If rendering was taking too long, this would just automatically run less frequently, allowing multiple changes to happen between redraws.

There's also the possibility of speeding up rendering - right now, I just make lots of calls to the canvas API's fillrect method, but since the grid is a 256x256 torus, I could just draw that once and then copy it across the canvas. I thought about that during the jam, decided it would take too long for a minor gain. (I should have applied the same reasoning when I decided to implement base64 encoding myself, but hey).
niklasriewald
23. Apr 2020 · 19:04 UTC
Nice idea, mever thought about competitive Conway's game of life. Will this be the next major E-Sport? :D
Enya454
25. Apr 2020 · 03:31 UTC
It's a bit hard to get started, placing one cell at a time. But it's just Conway's Game of Life. Hard to go wrong there, pretty fun.
Loig
26. Apr 2020 · 18:46 UTC
Provided that a new square must appear at some position according to the rules of the game of life, I don't really get how the colour of this new square is determined. Is it some kind of majority?
Kaisean Games
26. Apr 2020 · 22:10 UTC
I got a `502 Bad Gateway` HTTP error on the link.

Feel free to ping me when you think this is fixed.
🎤 Tesseract
26. Apr 2020 · 22:11 UTC
@loig A new cell is born if exactly 3 neighbours are alive. If a majority (2) of those share a colour then the new cell has that colour, otherwise it is black. Surviving cells don't change colour.
🎤 Tesseract
26. Apr 2020 · 22:39 UTC
@kaisean-games could you check that you're visiting https://imojc.nfshost.com and not http://imojc.nfshost.com ? I get that error if I visit the insecure version. It's not intended, but is probably some weird interaction between my server program (which makes mistakes with how it implements HTTP) and the hosting provider (which acts as an HTTP proxy, adding TLS and fixing most of my mistakes).
Kaisean Games
26. Apr 2020 · 22:50 UTC
@tesseract unfortunatelly, this happens on both http and https :shrug:
🎤 Tesseract
26. Apr 2020 · 23:21 UTC
@kaisean-games It's working fine for me on https. Could you let me know what operating system and browser you're using? It might be worth trying https://imojc.nfshost.com/postld/ , but I don't know what could be wrong.
Teo Miklethun
27. Apr 2020 · 21:55 UTC
@tesseract I also made a game of life themed game taht can be found here:
https://ldjam.com/events/ludum-dare/46/game-of-life
Szieberth Adam
02. May 2020 · 21:32 UTC
Life game makers united member here. I love we all made different variations on the theme, and I naturally like them all. :)

IMOJC is a little laggy on my PC. Well, naturally I do not expect the simulation to be faster but the UI could be more responsive.
Mykola
07. May 2020 · 18:44 UTC
Very original idea, liked it a lot. Would be great to develop it further and add more game elements!