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.
-
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.
-
Video10 min 59 s
JavaScript closures and scope explained: counters, let vs var
Two counters from one function, and what the second one prints. Scope and the scope chain, what a closure is, counters and function factories, why a var loop gives 3, 3, 3 while let gives 0, 1, 2, and private data with the module pattern. Three programs walked through line by line with their real output.
Articles
The same lessons, written down, with code you can copy.
-
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.
-
JavaScriptIntermediate
JavaScript closures and scope explained: counters, let vs var
How a function remembers the variables around it: scope and the scope chain, closures, counters and function factories, the var loop bug, and private data with the module pattern. Three 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