Screeps Kleaner Bot

JavaScript Game AI Screeps Automation Hobby Project

Overview

Creative programming project implementing an autonomous non-player character for Screeps, the real-time strategy game where players write JavaScript to control units in a persistent multiplayer world. The Kleaner bot operates as “The Kleaners” faction, a peaceful NPC that explores the game world and restores abandoned rooms by removing all player-built structures and returning spaces to their natural state. Demonstrates advanced game AI programming including pathfinding, resource management, expansion strategies, and environmental cleanup logic executed entirely through code.

Features sophisticated decision-making algorithms for clockwise shard exploration, sustainable resource harvesting following “finders keepers” rules on highways, and defensive strategies that protect claimed territory without aggressive retaliation. Implements ethical gameplay guidelines including wall-free construction philosophy, open border policies, conflict avoidance mechanics, and room restoration protocols. Operates autonomously across approximately 30 rooms on Shard 1, with a more aggressive splinter faction “The Kleansers” deployed to other shards demonstrating alternative behavioral patterns.

Forked from KasamiBot and reimagined with unique faction identity and gameplay mechanics. The project serves dual purposes: providing an interesting NPC for the Screeps community to interact with and inspiring other players to develop their own automated responses to bot activities. Showcases programming skills in algorithm design, state management, and autonomous decision-making systems within a complex multiplayer environment. Represents hobby coding and creative problem-solving beyond traditional infrastructure automation work.