Giter Club home page Giter Club logo

cellular_automata's People

Contributors

chuck-sys avatar

Stargazers

 avatar

Watchers

 avatar  avatar

cellular_automata's Issues

Replace buttons with a board

Create a board class that overrides the Fl_Widget class, and use it to replace the Tiles, since they take up a lot of graphical memory, if the window is large enough.

Main Code Cleanup

The Main.cpp file is too big (>1000 lines of code). Consider refactoring.

  • Dynamic menu creation #5
  • Separate logic from GUI #10

Config file

Program needs a configuration file (and parser). Maybe json or something?

Better system for rule creation

This is a comment thread for a better rule creation system and implementation.

Things that it needs to take care of:

  • rule parsing
  • rule representation

The original implementation involved a single std::vector<int> which held positive numbers separated by a -1. Format is of the following: S/B, where S indicates the number of cells neighbouring such that the cell survives the iteration; B indicates the number of cells neighbouring a cell such that birth occurs. For example, Game of Life would be represented by the rule "2, 3, -1, 3"

Messy configuration system

The configuration system is messy, and needs to be redesigned and/or better implemented. There are too many global variables. We need one variable that stores everything else in a dictionary or something similar.

Also consider splitting functions into separate files because the main file is over 1k lines long, and takes ages to scroll through. Reference to #6.

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.