Small games, and the code behind them.

Codesarray makes calm mobile games for Android, and short videos and articles that show how code works, one idea at a time.

Games

Open, play a round, put the phone down. No accounts, and every game plays offline.

Videos

Coding, algorithms and data structures, one language at a time. Every example on screen is real code with its real output. Python comes first.

  • Video14 min 12 s

    JavaScript promises and async/await: then, catch, Promise.all

    fetch hands you Promise { pending } — an IOU, not the data. The event loop in one picture, setTimeout callbacks building the pyramid of doom, then/catch/finally chains, async/await with ordinary try/catch, and Promise.all running three 300 ms tasks in 312 ms where sequential awaits took 915. Five programs walked through line by line with their real output.

  • Video10 min 9 s

    JavaScript iterators and generators: yield, for...of, lazy pipelines

    Call a generator and nothing runs: the first next() runs it to yield and freezes it mid-function. The protocol behind for...of, one Symbol.iterator method that makes your own object loopable, function* and yield, and lazy ES2025 pipelines that pull four even squares from an infinite sequence instantly. Four programs walked through line by line with their real output.

  • Video12 min 28 s

    JavaScript classes: constructor, extends, super, private fields

    typeof a class is "function": classes are the prototype pattern in one tidy block. A real BankAccount built step by step: constructor and methods, getters and setters with guards, static members, truly private #fields that even JSON.stringify can't see, and a SavingsAccount with extends and super. Five programs walked through line by line with their real output.

See the whole channel on YouTube

Articles

The same lessons, written down, with code you can copy.

Browse all articles by language and level

Work

Codesarray is created by Anand Rathore, a software developer. The day job, for more than five years, has been payment systems.

Payment gateways, settlement and reconciliation: software where every write is audited and a wrong number is somebody's money. That work covers the whole path, from gathering requirements and designing the system to building, deploying and running it.

Open to freelance and contract projects, to full-time roles, and to collaborations and sponsorship on the YouTube channel. Remote only.

Experience
5+ years in fintech
Backend
Python, Java, Django, Spring Boot, Node.js
Data
PostgreSQL, MySQL, MongoDB, Kafka
Frontend
React, TypeScript, Tailwind CSS
Also
Android games in Kotlin
Where
India, working remotely