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.
-
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.
-
Video12 min 2 s
Why JavaScript methods lose this (and how to fix it)
ada.hello() says Hi, I'm Ada; saved to a variable, the same call prints undefined. The four rules that set this, call, apply and bind, why arrow functions have no this of their own, and how the prototype chain shares one method between objects. Four programs walked through line by line with their real output.
Articles
The same lessons, written down, with code you can copy.
-
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.
-
JavaScriptIntermediate
JavaScript this keyword explained: 4 rules, bind, prototypes
Why a saved method prints undefined: the four rules that set this, call, apply and bind, arrow functions without this, and the prototype chain with Object.create and User.prototype. Four 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