Devlog 9
Made some improvemets/additions to the CLI today based on some of my own discoveries and feedback from the first ship.
Thank you to everyone who voted on my first ship ever! I looked throught the feedback and appreciate the support. I also appreciate the constructive feedback. I took it into consideration and applied changes.
Major Changes
- Biggest change was the addition of preset templates. You can now choose between inputting your own cells through coordinates, or by just selecting a preset template which has hardcoded values for cells and everything else.
- This was done by adding presets.rs which is mainly for the hardcoded values to be fetched and stored. Additionally inputs.rs was updated and overhauled with more functions to be more readable and easier to edit.
- main.rs was changed to accomodate the changes in input.rs and presets.rs
- core.rs and cli_display.rs were not changed
Bug fixes
- Inputting a negative number in the first step of the custom setup process would not have proper program execution. I fixed by checking for negative numbers
Personal changes
- The program now has a dedicated exit and loops after a generation dies so you can keep on testing!
- Phrasing in one of the prompts in inputs.rs was changed to be more clear.
Additional thoughts:
I will fix up the CLI a bit more and add a few more features before moving on to TUI development. The release of the TUI will be my second ship. Eventually I plan to have this project with a GUI, TUI, CLI, and a web version.
Since I am planning for the CLI to be used on low-end devices, I am going to limit the file size to 1 MB. That is 1 MB across all platform binaries.
Someone suggested adding a pause feature. I am currently looking into implementing that.
Tldr: I will continue fixing up the CLI and adding features.
Have a wonderful day.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.