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.
-
Blockfall
A calm 8x8 block puzzle with a daily challenge and a Play Games leaderboard.
-
Paws & Perils
A cute paper cut-out roguelike with an idle RPG underneath: pick a hero, walk the trail, choose your path at every fork.
Coming to Google Play About Paws & Perils -
Synapsy
A calm daily memory game: pairs, sequences, grids and spot the change, with a three-minute Daily Workout.
Coming to Google Play About Synapsy
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.
Articles
The same lessons, written down, with code you can copy.
-
JavaScriptIntermediate
JavaScript promises and async/await: then, catch, Promise.all
The event loop in one picture, callbacks to flat then/catch/finally chains, async functions that pause at await while the program keeps going, Promise.all against sequential awaits with real timings, fetch, and ES2026's Array.fromAsync. Six short programs with their real output.
-
JavaScriptIntermediate
JavaScript iterators and generators: yield, for...of, lazy pipelines
The next() protocol behind for...of, Symbol.iterator to make your own objects loopable, generators that pause at yield, and lazy pipelines over an infinite sequence with the ES2025 iterator helpers. Five short programs with their real output.
-
JavaScriptIntermediate
JavaScript classes: constructor, extends, super, private fields
A class is a function underneath: constructor and methods, getters and setters, static members, truly private #fields, and inheritance with extends and super, all on one bank-account example. Five short programs with their real output.
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