Sep 9, 2025 · 4 min read · Using Ranges and Random Generators in SDL_Chomik In the previous SDL_Chomik article, we animated a single blue monkey drifting across the screen. This time, we will take the idea one step further. Instead of one, we’ll unleash ten monkeys! Each monke...
Join discussion
Sep 7, 2025 · 2 min read · In previous articles, we explored how placeholders work in Chomik: they are not values on their own but rather parts of variable names. This makes them extremely flexible for generating families of variables or iterating over ranges. But what if you ...
Join discussion
Aug 22, 2025 · 3 min read · In the previous articles on this blog, we introduced the concept of placeholders in Chomik — a technique that allows us to execute code as if we had some kind of loop instruction. So far, our examples were mostly based on the boolean type, because it...
Join discussion
Aug 19, 2025 · 3 min read · In the last article, we learned how to read integers from a file. Today, we will move on to something equally important in many programs: random numbers. At first glance, generating random numbers may not look like an input/output (I/O) operation. Ho...
Join discussion
Aug 17, 2025 · 3 min read · In this article, we will introduce file reading in Chomik. For now, we’ll keep things simple: we will only talk about text files, and we will only read integers stored in them. This is enough to demonstrate the basic file stream mechanism in Chom...
Join discussion
Aug 15, 2025 · 3 min read · In this installment of the SDL_Chomik series, we are going to create our first animation! We'll make a "blue monkey" move horizontally across the window, using some of the concepts we introduced in the last two Chomik articles: adding integers and co...
Join discussion
Aug 15, 2025 · 2 min read · In previous articles, we explored some of Chomik’s built-in types, such as boolean. Today, we’ll reveal another one — compare_result — which is used when comparing integers. The compare_result type The compare_result type consists of exactly three id...
Join discussion
Aug 14, 2025 · 2 min read · Today, let’s talk about adding and subtracting integers in Chomik — but before we dive into code, I’d like to introduce a certain feature of the language. Unfortunately it may seem “nasty”. The Nasty Feature: Side Effects Most of us don’t like side e...
Join discussion
Aug 12, 2025 · 3 min read · In our first SDL_Chomik article, we learned how to display an image in every iteration of the sdl loop. We also saw that you cannot directly use the predefined integer variable the created image index in multiple places — its value changes each time ...
Join discussion