Commit graph

96 commits

Author SHA1 Message Date
1c756bbda4 Add Functionality to Clear Board Button 2018-07-08 19:45:47 +02:00
1a43be14fa Add Clear Board Button to Interface 2018-07-08 19:45:35 +02:00
016b166d50 Add Clear Board Function to Engine 2018-07-08 19:45:04 +02:00
49b036ffe9 Merge branch '6-stop-simulation-if-all-cells-are-empty' into 'master'
Resolve "Stop Simulation if all cells are empty"

Closes #6

See merge request webdevexp/rules-of-living!1
2018-07-08 17:34:39 +00:00
1146c7d265 Add Check for State Changes During Grid Update 2018-07-08 19:32:43 +02:00
9fb67d0194 Add return of new cell state to advanceState Function 2018-07-08 19:08:40 +02:00
3676264444 dartfmt 2018-07-08 19:05:11 +02:00
4074f49228 Fix Missing return statement 2018-07-08 19:03:48 +02:00
fb014ce5ac Shorten Heading 2018-07-08 19:01:46 +02:00
6f41c63f3c Merge branch 'add-grid-rendering' 2018-07-08 19:01:21 +02:00
8fc3f35321 Add Edge Rendering with Toggle Button 2018-07-08 19:01:14 +02:00
a71d442b45 Merge branch 'random-starting-pattern' 2018-07-08 19:00:07 +02:00
c5ed18f0ad Add Random Button Functionality
Adds random pattern toward the center of the canvas. Does not delete anything.
2018-07-07 22:02:04 +02:00
c5b62e6c9f Fix Reset & Step not working on first click
Rendering dirty flags were not updated accordingly, so the updates happened but were not pushed to be rendered. Added and moved additional dirty flag setters.
2018-07-07 21:43:24 +02:00
2d2365e606 Fix Simulation Reset not Replicating the Starting Pattern
Now keeps the original parameters for the first pattern of a grid stored and can replicate them reliably.
2018-07-07 21:42:07 +02:00
bdc5dc1af1 Add Message for App Failure 2018-07-07 21:07:42 +02:00
34bdd1ae81 Apply dartfmt 2018-07-07 20:49:02 +02:00
2f96712b60 Merge branch 'random-starting-pattern' 2018-07-07 20:47:37 +02:00
4b35dbe5fc Add Parameters for Dispersal and Amount of Cells 2018-07-07 20:47:23 +02:00
9816778d4b Allow Defining x and y for Patterns 2018-07-07 20:35:04 +02:00
964ba69c2e Add Grid Starting Patterns
can be common forms and random
2018-07-07 20:04:35 +02:00
f50f30453d Merge branch 'add-license' 2018-07-07 19:09:40 +02:00
7b02834b54 Add MIT License 2018-07-07 19:09:25 +02:00
59b67be3b0 Merge branch 'change-to-angular-dart' 2018-07-07 19:08:59 +02:00
a19aac6a6e Add Buttons Step & Reset
Wired up into engine
2018-07-07 19:08:49 +02:00
70e33fe135 Fix Rendering when no Changes occured
Rendering checks a dirty flag which gets set whenever a cell updates by changing their state.
2018-07-07 19:08:26 +02:00
5a10c0e1f7 Prepare Engine for Button responses 2018-07-07 19:07:30 +02:00
020bb6b918 Remove Local isRunning Variable in Component 2018-07-07 19:07:07 +02:00
69b680e554 Add FontAwesome Icons to Buttons 2018-07-07 19:06:25 +02:00
96a5bd0cec Connect Start Button through Angular 2018-07-07 17:47:37 +02:00
843dad6cbb Move App HTML into Separate Template 2018-07-07 17:47:21 +02:00
3780e61453 Implement Canvas as Angular Component 2018-07-07 16:44:48 +02:00
827ab83b88 Refactor Directories
Move Engine Files to /src Directory
2018-07-07 16:44:06 +02:00
f3dfc3b368 Set up Basic AngularDart Structure 2018-07-07 15:46:40 +02:00
Marty
fffcc3fbae Clean up Package Structure and .gitignore 2018-07-07 15:40:17 +02:00
a9cf46d7a2 Add Control Buttons 2018-07-06 16:47:30 +02:00
f5e528dceb Refactor Rendering into Grid Class 2018-07-06 16:47:20 +02:00
6b7e8edb28 Fix Cell Propagation through intermediate Step
the next targeted state is first propagated to all Cells, then they all adopt their new states at once.
2018-07-06 16:46:30 +02:00
c2d46c6e38 Fix Cell Population 2018-07-06 15:00:45 +02:00
b16d108e70 Finally fix TimeStep 2018-07-06 15:00:01 +02:00
12792a7897 Remove Debug Spam 2018-07-06 14:27:54 +02:00
e14e8fe505 Fix Neighbor Search 2018-07-06 14:27:25 +02:00
4c40dd2baa Fix Timestep observing 2018-07-06 14:27:17 +02:00
9aff30452e Update gitignore for Dart2 2018-07-06 14:25:14 +02:00
0277e5ddc7 Initial Commit 2018-07-05 17:59:11 +02:00
869faf2919 Initial commit 2018-07-05 17:58:18 +02:00