Grid drawing does not work on canvas

I'm going to make Conway's Game of Life.
However, an error occurred in the process of drawing the grid.
What should I do?
(I'm Korean, and I'm using a translator.
So the sentence may not be natural.
Please excuse me.)

저는 콘웨이의 생명 게임을 만들려고 합니다.
그러나, 격자를 그리는 과정에서 오류가 생겼습니다.
제가 어떻게 해야하나요?
(저는 한국인이고, 번역기를 사용하고 있습니다.
그래서 문장이 자연스럽지 않을 수 있습니다.
양해 부탁드립니다.)



Maybe this will help ?

Thank you!
I didn't fix the error about drawing lines, but I knew another way to draw a grid.
Instead of drawing a line, I will use the method you told me.

@TIMAI2 Umm.....
I think it's a bug.
When I tested it on iPhone, there was no bug.
But, when i tested it on android, there was bug.

No bug here on Android


I don't think it is a bug either (let's not jump to conclusions so fast). Please post your new blocks in English as well. :slight_smile:

this is bug.
no bug on that, bug there is a bug on my app.
on iPhone:

on android:

They are same project.

AIA file:
GameOfLife.aia (7.4 KB)

Ah, this is not a bug either. Your Android phone may take a while to draw the horizontal lines, so you have to use a Clock timer to give your app some time to draw the horizontal lines.

Ah, I see.
Thank you for letting me know!

No. This is a problem of the Android emulator. Should be OK on real phone.

No. I once bumped into this issue on a real phone drawing multiple grid lines all at once while helping a user. Let me try to find it.

Search this board for Snakepit to get something that looks like Life but is more squirmy.