Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
dtanzer
dtanzer
@dtanzer@social.devteams.at  ·  activity timestamp 2 months ago

Here's my first try of #GameOfLife in #rust https://codeberg.org/dtanzer/game-of-life/src/branch/main/rust-fixed-size

Fixed-size board (for now), tests are there. Sometimes I wrote tow or three tests before proceeding, because I don't know how to write parameterized tests.

I know I convert too much between i32 and usize and so on. I should change that, but not yet sure what the best solution will be.

Cannot work on UI right now because it crashes when I'm not connected to my docking station.

Feedback welcome!

  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.41 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct