All Projects → bencbartlett → Overmind

bencbartlett / Overmind

Licence: mit
AI for Screeps, a multiplayer programming strategy game

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Overmind

Owl Bt
owl-bt is editor for Behavior trees. It has been inspired by Unreal engine behavior trees in a way, that it supports special node items like decorators and services. This makes trees smaller and much more readable.
Stars: ✭ 112 (-65%)
Mutual labels:  ai, game
Htframework
Unity HTFramework, a rapid development framework of client to the unity.
Stars: ✭ 179 (-44.06%)
Mutual labels:  ai, game
Snake Ai Reinforcement
AI for Snake game trained from pixels using Deep Reinforcement Learning (DQN).
Stars: ✭ 123 (-61.56%)
Mutual labels:  ai, game
Wesnoth
An open source, turn-based strategy game with a high fantasy theme.
Stars: ✭ 3,488 (+990%)
Mutual labels:  game, strategy-game
Megaglest Source
MegaGlest real-time strategy game engine (cross-platform, 3-d)
Stars: ✭ 259 (-19.06%)
Mutual labels:  game, strategy-game
Warriorjs
🏰 An exciting game of programming and Artificial Intelligence
Stars: ✭ 8,673 (+2610.31%)
Mutual labels:  ai, game
Classic Pool Game
Classic 8 Ball pool game written in JavaScript
Stars: ✭ 177 (-44.69%)
Mutual labels:  ai, game
Tic Tac Toe
An unbeatable game of Tic Tac Toe.
Stars: ✭ 57 (-82.19%)
Mutual labels:  ai, game
Ja2 Stracciatella
The continuation of the venerable JA2-Stracciatella project.
Stars: ✭ 258 (-19.37%)
Mutual labels:  game, strategy-game
Opensteer
OpenSteer is a C++ library to help build steering behaviors for autonomous characters in games and animation.
Stars: ✭ 202 (-36.87%)
Mutual labels:  ai, game
Mage
Magic Another Game Engine
Stars: ✭ 1,180 (+268.75%)
Mutual labels:  ai, game
Triplea
TripleA is a turn based strategy game and board game engine, similar to Axis & Allies or Risk.
Stars: ✭ 268 (-16.25%)
Mutual labels:  game, strategy-game
09 Zombierunner Original
First person shooter with Unity terrain and AI pathfinding (http://gdev.tv/cudgithub)
Stars: ✭ 64 (-80%)
Mutual labels:  ai, game
Bwapi
Brood War API
Stars: ✭ 1,482 (+363.13%)
Mutual labels:  ai, game
Korea Startups
🌟 국내 스타트업 목록 및 설명 🌟
Stars: ✭ 63 (-80.31%)
Mutual labels:  ai, game
Leelasabaki
Leela (Zero) integration with Sabaki.
Stars: ✭ 138 (-56.87%)
Mutual labels:  ai, game
Openkore
A free/open source client and automation tool for Ragnarok Online
Stars: ✭ 956 (+198.75%)
Mutual labels:  ai, game
Rlcard
Reinforcement Learning / AI Bots in Card (Poker) Games - Blackjack, Leduc, Texas, DouDizhu, Mahjong, UNO.
Stars: ✭ 980 (+206.25%)
Mutual labels:  ai, game
Clashjs
Javascript AI battle game. Create your own battleship.
Stars: ✭ 196 (-38.75%)
Mutual labels:  ai, game
Aitrack
6DoF Head tracking software
Stars: ✭ 262 (-18.12%)
Mutual labels:  ai, game

Current release: Overmind v0.5.2 - Evolution Build Status


About Overmind

What is Screeps?

Screeps is an MMO strategy game for programmers. The core objective is to expand your colony, gathering resources and fighting other players along the way. To control your units, you code an AI in JavaScript; everything from moving, mining, building, fighting, and trading is entirely driven by your code. Because Screeps is an MMO, it takes place on a single server that runs 24/7, populated by every other player and their army of creeps. When you log off, your population continues buzzing away with whatever task you set them. Screeps pits your programming prowess head-to-head with other people to see who can think of the most efficient methods of completing tasks or imagine new ways to defeat enemies.

What is Overmind?

Overmind is my personal codebase that I run on the public server. The structure of the AI is themed loosely around the Zerg's swarm intelligence from Starcraft. Overlords orchestrate Creep actions within each Colony, and the colony Overseer places Directives to adapt to stimuli. Finally, the Assimilator allows all players running Overmind to act as a collective hivemind, sharing creeps and resources and responding jointly to a master ledger of all directives shared by all players.

The AI is entirely automated, although it can also run in manual or semiautomatic mode. The latest release should work right out of the box; however, if you find something broken, please submit an issue and I'll try to fix it.

Can I use Overmind as my bot?

If you're new to Screeps, I would definitely recommend writing your own AI: most of the fun of the game is programming your own bot and watching your little ant farm run! However, I've tried to make the codebase readable and well-documented, so feel free to fork the project or use it as inspiration when writing your AI.

If you still want to use Overmind on the public server, that's okay too - there are a number of people already doing this. But please realize that using a mature AI like this gives you a huge advantage over other new players, so don't go out of your way to ruin someone else's fun. In the future, I will be implementing methods for novice players to opt out of excessive aggression by Overmind bots (as long as they don't start a conflict and stay out of its way).

Installation

Out of the box

If you just want to run Overmind without modification, you can copy the compiled main.js file attached to the latest release into your script. While Overmind is fully automated by default, it can be run with varying levels of autonomy; refer to the Overmind wiki for how to configure and operate the bot.

Compiling from source

To install the full codebase, download or clone the repository. (Please note that while the latest release of Overmind should always be stable, the latest commit may contain unstable features.) Navigate to the Overmind root directory and run npm install. To compile and deploy the codebase, create a screeps.json file from the example file, then do one of the following actions:

  • Compile and deploy to public server: npm run push-main
  • Compile and deploy to private server: npm run push-pserver
  • Compile without deploying: npm run compile

Overmind uses rollup to bundle the compiled TypeScript into a single main.js file. The codebase includes functionality to compute checksums for internal validation - if you have a different version of rollup installed globally, different checksums may be computed and some functionality will be disabled. Please ensure the local installation of rollup found in node_modules is used.

Setting up the Grafana dashboard

Overmind includes a Grafana dashboard (shown below) which tracks detailed operating statistics. To set up the dashboard:

  1. Register for grafana service at screepspl.us
  2. Setup the ScreepsPlus hosted agent (simpler) or use the NodeJS agent on a free micro instance of Google Compute.
  3. Import the dashboard from Overmind.json and change $User to your username.
  4. Enjoy your pretty graphs!

Design overview

Check out the Overmind wiki for in-depth explanations of parts of the design of the AI. (Click the diagram below to see a higher-resolution version.)

AI structural schematic

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].