I started to learn how to code when I was in 5th grade. I took my first course in BASIC then. It was the most fun I’d had. Yes, I’m a nerd. This was in 1989. Now, 30 years later, my son is about the age I started to learn code. And it baffles me that despite the advances we have made in 30 years and our reliance on technology, programming is not a default part of school curriculum. Learning code these days is easy. There are so many tools available like Scratch and online courses like at code.org where even kids younger than 10 can start to learn how to code. There are toys like Lego Mindstorms that help kids learn to think logically.
The book is still a work in progress and the game itself is also a work in progress and is available here for you to check it out. It only works in modern browsers like Chrome and Firefox. Internet Explorer is not supported because the code uses modern language features not supported in Internet Explorer.
The book can be read here while it is a work in progress: https://1drv.ms/w/s!AlY6sDe0MB8sg6E82V5FNQ70L8ljZw
The Game: https://s1dd.com/BookPokemonGame/