

The code inside of these curly brackets will run once per tick. It’s where you run your algorithm to evaluate how good it is. Editor’s note: In Adventure Journal 17, summer 2020, we published a story called The Ghost in the Tent, by journalist Jason Nark, who had been trying to decipher the mystery of a man known only by his trail name, Mostly Harmless, whose emaciated body was found.

The basis for RL research, or even playing with or learning RL, is the environment. The Mystery of Deceased Hiker ‘Mostly Harmless’ Is At Long Last Solved. If you're new to programming, or you're new to JavaScript, but you think Screeps is cool and you really want to play it, in this tutorial I'm going to show you the simplest Screeps code possible and I'm going to walk you through step-by-step what each line of code means, what it does, and how I got there. In this post, I’ll share with you my library of environments that support training reinforcement learning (RL) agents.
