Quite a bit done here, but a lot of progress, and I think I’m almost ready to ship.
- I added a counter for the generation. It isn’t very useful, but still nice to have.
- I found the idea of a menu to be unnecessary, so I made a little 10-pixel tall statusline that shows the running status, current generation, and FPS. Quite easy to make, I just added 10 to the window height and then wrote a function to put text on that strip.
- I added some new keybinds:
- The
gkey can be pressed to toggle the grid (forgot to show it in the video, unfortunately). - The
tkey can be pressed to change the theme.
- The
- I added themes! Because the
Board.draw()method was already flexible, this was very straightforward. First, I got ChatGPT to generate a list of themes (nothing more). Then, I made a new variable to keep track of the current theme index. That variable gets increased when thetkey is pressed, and then the keys of the theme are bassed to theBoard.draw()method.
To conclude, I think I am very close to finally shipping this small project! I will continue to make some more small changes and improvements.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.