Inspiration
We were inspired by CGP Grey's video "Hexagons are the Bestagons", to try and build Conway's Game of Life on a hexagonal grid.
What it does
The Game of Hexagons is a hexagonal grid that behaves based on a couple of rules. Every hexagon in the grid is in one of two states: on or off. Every second, each hexagon looks at its six neighbours to see whether it should be on or off, according to predetermined rules. We fiddled with our rules to get cool results, but this is an example of the rules we used:
- Any live cell with fewer than three live neighbors dies due to underpopulation.
- Any live cell with three or four live neighbors lives on to the next generation.
- Any live cell with more than four live neighbors dies due to overpopulation.
- Any dead cell with exactly two live neighbors becomes a live cell due to reproduction.
How we built it
We built our project with Python and used Tkinter for the canvas.
Challenges we ran into
We struggled collaborating remotely with realtime software. We also had plenty of bugs, and a bit of optimization was required.
Accomplishments that we're proud of
We are very proud of the clean Python code we wrote, and finishing our first hackathon/coding event.
What we learned
We learned about different tools that allow you to work on a code file remotely together simultaneously. One of these tools was PyCharm, which is free for all VSB students!
Built With
- python
- tkinter
Log in or sign up for Devpost to join the conversation.