Git Product home page Git Product logo

Comments (4)

sarweiler avatar sarweiler commented on August 22, 2024

First steps done:

  • Moved helper functions to its own lib/helpers.lua and wrote some unit tests for them.
  • Removed some deprecated code

from zellen.

sarweiler avatar sarweiler commented on August 22, 2024

More:

  • Moved config and state to their own files in lib

from zellen.

ericmoderbacher avatar ericmoderbacher commented on August 22, 2024

@sarweiler How do you feel about moving more of the logic to the "board"? I think that maybe the game of life logic could be moved into its that space. Then the sequencing logic can query the board as is, or each cell in the grid can have "do" functions when they are activated?

cells can also have things like "next" -the next cell to be triggered. They can also keep track of things like frequency of activation or counts of manual intervention by the user.

If you feel this idea isn't too disruptive i can make the change in my fork.

from zellen.

sarweiler avatar sarweiler commented on August 22, 2024

Sounds great! I was planning to create a Board class that contains the board and game logic that is connected directly to the board. I haven't started yet, so feel free to go in that direction!

from zellen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.