T. von Dein
|
fee8aaeed9
|
move to codeberg (#10)
|
2025-11-13 21:30:44 +01:00 |
|
|
|
a115db60f6
|
Merge branch 'main' of github.com:TLINDEN/gameoflife
v0.0.8-codeberg-cb38
|
2024-10-20 13:10:15 +02:00 |
|
|
|
1250f1113e
|
fixed standard evolution colors
|
2024-10-20 13:07:12 +02:00 |
|
|
|
78aba6f005
|
fixed standard evolution colors
|
2024-10-20 12:39:37 +02: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 |
|
|
|
89d25db9e7
|
added profiling target, makes it easier
|
2024-07-15 14:21:03 +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 |
|
Thomas von Dein
|
50b630791a
|
bumpversion
|
2024-07-12 23:00:28 +02:00 |
|
|
|
957db29a37
|
added C test
|
2024-07-12 23:00:28 +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 |
|
|
|
e516b218fd
|
tuning fail
v0.0.8
|
2024-06-14 19:58:03 +02:00 |
|
|
|
6544052bb7
|
tried more variants: writepixel+pointer+int, which is not much better
|
2024-06-14 19:56:00 +02:00 |
|
|
|
45e5fc7e3b
|
tried arche ecs: utter fail, needs 4.3 the time
|
2024-06-12 20:01:30 +02:00 |
|
|
|
39da34cb5c
|
more tests
|
2024-06-11 23:59:47 +02:00 |
|
T.v.Dein
|
1623277c85
|
Update TODO.md: add pointer idea, try ecs
|
2024-06-11 23:08:49 +02:00 |
|
|
|
15bce3cb3a
|
add grid idea
|
2024-06-11 19:47:01 +02:00 |
|
|
|
3cff41c991
|
fixed colors of standard theme
|
2024-06-11 19:43:30 +02:00 |
|
|
|
d66fb489fe
|
using switch in input checks
|
2024-06-11 19:39:46 +02:00 |
|
|
|
927e47dc92
|
remove old debug prints, update TODO
|
2024-06-11 19:22:29 +02:00 |
|
|
|
f14f4ff21a
|
removed unneeded code, fixed game exit from menu
|
2024-06-11 19:15:40 +02:00 |
|
|
|
b8496d0ae2
|
added grid comment to theme.go, since I always forget how grindlines work
|
2024-06-09 18:41:27 +02:00 |
|
|
|
1af3e9fc42
|
add clean target, fixed mix up colors
|
2024-06-09 18:33:09 +02:00 |
|
|
|
aa7999a01b
|
add screenshots
|
2024-06-09 18:21:45 +02:00 |
|
|
|
3a743a65e5
|
fixed theme selection from menu, centralized theme def to 1 place
|
2024-06-09 18:00:06 +02:00 |
|
|
|
01cfaf3b78
|
+fix
|
2024-06-08 20:12:36 +02:00 |
|
|
|
7d717423c9
|
+previewtext
|
2024-06-08 20:12:10 +02:00 |
|
|
|
4f7cf4c419
|
initial options bug fixed
See
424f62327b
Thanks a lot for the fast support, amazing!
|
2024-06-08 20:06:02 +02:00 |
|
T.v.Dein
|
3c992a00c6
|
fix video
|
2024-06-08 19:56:20 +02:00 |
|
|
|
1ec84213a0
|
cleanup and added video to readme
|
2024-06-08 19:52:20 +02:00 |
|
|
|
a109838c4c
|
calculating zoom factor based on cellsize
|
2024-06-08 16:29:09 +02:00 |
|
|
|
65a67f1bac
|
removed invert option, added new standard theme (orange on grey)
|
2024-06-08 16:19:54 +02:00 |
|
|
|
5813f8fab8
|
added option to select theme, can be used also to select RLEs :)
|
2024-06-07 18:39:14 +02:00 |
|
|
|
0c44a7e266
|
more performance tests
|
2024-06-07 17:34:09 +02:00 |
|
|
|
81c4b976e2
|
added theme system, makes it easier to add more color schemes
|
2024-06-07 17:33:54 +02:00 |
|
|
|
4695338323
|
added key bindings help screen, reachable via menu
|
2024-06-06 19:55:16 +02:00 |
|
|
|
63f4aa839d
|
hint about themes
|
2024-06-06 19:38:11 +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 |
|