Commit Graph

25 Commits

Author SHA1 Message Date
0989fdb3cc moving to codeberg 2025-11-13 19:50:36 +01:00
a680cca30c always calculate neighbor count 2024-07-16 19:33:06 +02:00
4074debdbf using only one dimensional grid by calculating y+STRIDE*x 2024-07-16 19:07:51 +02:00
e8ed283233 next try to enhance performance: now using uint9 again and no pointers 2024-07-15 14:21:21 +02:00
89903fdcec better comments, simplified check 2024-07-13 20:46:11 +02:00
05d56568e4 fix #7: use only left mouse button to draw, it toggles cell state 2024-07-13 19:31:25 +02:00
eb95c72538 fixed grid lines performance problem 2024-07-12 23:00:28 +02:00
604cbea127 use optimized rule check if B3/S23 is active 2024-07-12 23:00:28 +02:00
f3e7428775 draw the grid explicitly thus leading to full cells w/o the grid 2024-07-12 23:00:28 +02:00
6685207fde revert last revert and fixed history slow down bug 2024-07-12 23:00:28 +02:00
41da9b8536 revert history=>struct, but evolution doesn't work anymore anyway 2024-07-12 23:00:28 +02:00
6dec8c74ef bool => uint8 2024-07-12 23:00:28 +02:00
861ba86b0c using go-routines (one per row), makes it faster 2024-07-12 23:00:28 +02:00
7b0a74fb93 use cells instead of only bools, use pointer list to all neighbors 2024-07-12 23:00:28 +02:00
d66fb489fe using switch in input checks 2024-06-11 19:39:46 +02:00
f14f4ff21a removed unneeded code, fixed game exit from menu 2024-06-11 19:15:40 +02:00
1ec84213a0 cleanup and added video to readme 2024-06-08 19:52:20 +02:00
65a67f1bac removed invert option, added new standard theme (orange on grey) 2024-06-08 16:19:54 +02:00
81c4b976e2 added theme system, makes it easier to add more color schemes 2024-06-07 17:33:54 +02:00
1574e03085 put evolutioin drawing out of Draw(), handle history only if enabled 2024-06-06 19:36:51 +02:00
9fb2779c02 fixed canvas dragging speed, it's now relative to the world 2024-06-06 19:24:23 +02:00
9adc7ddbdc added explicit insert/draw mode, left mouse by default moves canvas 2024-06-06 19:13:07 +02:00
ab22e0f4e2 changed grid data type to bool, save mem and better perf 2024-06-06 18:58:31 +02:00
a5dbd69976 branchless experiments (failed and reverted, see commented code) 2024-06-05 23:51:55 +02:00
162d141b34 reorganized source, added test cases for tuning 2024-06-05 16:33:35 +02:00