Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
dtanzer
@dtanzer@social.devteams.at  ·  activity timestamp last month

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
Log in

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.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login