Re: Game of Life GO hybrid
Posted: December 8th, 2025, 2:57 pm
by Eiður
Ahh.. I see... I need to fix the cards.. they cut off some shapes (the shape is correct in the collection in the code)
export const QUEEN_BEE_SHUTTLE = [
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1],
[1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1],
[0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
];
Re: Game of Life GO hybrid
Posted: December 10th, 2025, 1:04 pm
by Eiður
Interesting, for study purposes or are you thinking of some game mechanic?
What format would you want it in (would be easy to add a copy button that gives you a 2d json array)
Re: Game of Life GO hybrid
Posted: December 10th, 2025, 2:02 pm
by Eiður
I added a "Save RLE" button to the right side bar in game "Player vs CPU"
If the data doesn't work in any of your programs, let me know.
Re: Game of Life GO hybrid
Posted: December 11th, 2025, 5:36 am
by hth3
It works, but I meant something that saves the data about which cells belong to which player too, you know. Maybe you can add some metadata to the RLE using comments such that if you open in GOLGO then it uses the exact same saved state but if you open it in normal programs it works like normal Life.
Re: Game of Life GO hybrid
Posted: December 12th, 2025, 12:44 am
by Eiður
I added a second button that saves the pattern with blue and red cells, but I don't know how to save the rules with it. The first button saves the cells with the B3/S23 rule but not red and blue