Coding with Zen

Recently, I tried to code on Codewars with a Zen attitude. It didn't work out, since the Koans on there are too short to be a useful Zen practice.

Then, I started a multimedia game practice with SDL3. The official documentation rewards slow and meticulous thinking. I wanted to use OpenGL ES 3, but I can't find a way to let SDL to specify exactly this OpenGL version. In the end, I opted for the SDL3 render module.

After viewing the SDL3_net module, I understood that making a cross-platform game is not easy.

Even if I don't know what to do, if I fill in the details one by one, I can achieve the end goal, albeit slightly different.

Click the button below to see my work in progress:

I think I need to come up with an idea first...

The design philosophy of Zen garden

留白 (this line is intentionally left blank)

顺势 be one with the terrain before it has become a garden

承扬 learn the local tradition and build on it (one such tradition is API provided by SDL)

静心 be a place for people to escape from busy work

自然 asymmetry, imperfection

About having fun

In the end, I learned from a talk on how to make games while having fun that the process should be fun as well!

Summary of the talk: do things that are easy and not obvious.

The Zen philosophy says: if you feel stress while doing something, you are doing it wrong.