
From that page, click on the "Tutorial" option. Scroll down until you see the "Live Demo" button. You don't even need to create an account to do the tutorial.
Screeps documentation install#
You don't need to install or download anything. To get started, simply go to the Screeps website. So that's how even when you sign off for the day and you're done playing, your base is still operating and it's still running off of the code that you wrote earlier. Instead you're writing artificial intelligence in JavaScript, in real code, and then your AI is what instructs your units on what to do. You're not selecting your characters and telling them what to do. Worker creeps spend their time gathering energy and moving it to where it's needed.īut what makes this game different from any other video game you've probably ever played is that you don't actually play this game directly. The units you spawn and control inside the game are called "creeps". Your access to energy determines how fast you are able to grow. This allows players to build more buildings and create larger and more powerful units. The main goal inside the game is to harvest these energy sources. In rooms that can be owned, you'll find at least one, but hopefully two, yellow squares that are labeled as energy sources. Some rooms can be owned by a player and some can't. The game map consists of large grid, and each square in that grid is a room. It's all in one big world and the game is persistent. But it's also like an MMO because everyone who's playing the game is on the same server. It's like a real time strategy game in that you create buildings and then from those buildings you will spawn units: either worker units that collect resources for you, or military units that will defend your base or attack other players. I describe it as a real time strategy game that's also an MMO. Let's start by talking about what Screeps is as a game. Still, I think it can be a great way for beginners to practice their programming skills once you get into it.
Screeps documentation how to#
Screeps is a programming game, but it's not designed to teach you how to code. I'm going to walk you through the official tutorial, so just in case you're new to programming, or if you're having trouble with the tutorial, hopefully this will help you out. In this series I want to introduce you to a programming video game called Screeps.
