You are browsing as a guest. Sign up (or log in) to start making projects!

7h 57m 14s logged

Devlog 11


Ferris’s Game of Life (FGOL) v0.2.0 is now released!
Check it out here: https://github.com/Polycarbohydrate/FGOL/releases/tag/v0.2.0

What is new?

  • First of all, Ferris, is now in banners that surround text in the CLI!
  • These banners surround important pieces of messages or menus. Text that is used for input will be displayed regularly.
  • Taking into account many of the suggestions from the first ship, I added presets!
  • There are 5 presets with this ship, and I plan to add more, which you can select to skip the hassle of setting up the simulation. These 5 were ones I found interesting and were fun to watch on the CLI.
  • Additionally, you may notice that there are more menus now. In order to accomodate the many changes while keeping the user experience friendly, I decided to use menus instead of forcing you to follow a setup process. You are able to customize the simulation however you want!
  • You are now able to add, remove, and view existing cells before you start the simulation!
  • You can still edit the speed of the simulation, and choose the grid size you want.
  • New settings include choosing when to stop the simulation (if you have an infinite loop) and stopping the simulation once cells move off of the screen.

Technical changes:

  • To make the code readable and better to edit (i don’t think a 1000 line file with repetitive text is good), I added banners.rs, which holds all of the banner/text content. Other files use the content by calling functions within banner.rs. This makes it so I can see more logic than text, which is more important with debugging.
  • I added the type SettingsExport to hold all of the information I import into cli_display.rs. This was a suggestion from cargo clippy.
  • As always, all code is linted using cargo clippy and formatted using cargo-fmt.
  • All files besides core.rs were modified to accomodate changes. input.rs was changed the most.
  • All platform binaries are still a modest file size (~100kb)

Before releasing, I tested for formatting, bad input, and tried to fix everything. I something doesn’t look right, or you encounter a bug/error. Create an issue on the GitHub so I can quickly fix it.


Future plans:
Ship this release.
Work on more features
Transition to web-version.


Video demo:

0
1

Comments 1

@himanshu-singh7

its nice bro