All Projects → TooAngel → Screeps

TooAngel / Screeps

Licence: agpl-3.0
Artificial intelligence for screeps

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Screeps

Robusttoolbox
Client/Server Backend for Space Station 14
Stars: ✭ 259 (-36.36%)
Mutual labels:  hacktoberfest, game
Pysolfc
A comprehensive, feature-rich, open source, and portable, collection of Solitaire games.
Stars: ✭ 293 (-28.01%)
Mutual labels:  hacktoberfest, game
Aitrack
6DoF Head tracking software
Stars: ✭ 262 (-35.63%)
Mutual labels:  ai, game
Grid royale
A life simulation for exploring social dynamics
Stars: ✭ 252 (-38.08%)
Mutual labels:  ai, hacktoberfest
Launchpad
An open-source game launcher for your games
Stars: ✭ 322 (-20.88%)
Mutual labels:  hacktoberfest, game
Massivedecks
A comedy party game for PC, mobile & chromecast.
Stars: ✭ 254 (-37.59%)
Mutual labels:  hacktoberfest, game
Terasology
Terasology - open source voxel world
Stars: ✭ 3,247 (+697.79%)
Mutual labels:  hacktoberfest, game
Htframework
Unity HTFramework, a rapid development framework of client to the unity.
Stars: ✭ 179 (-56.02%)
Mutual labels:  ai, game
Codegame
🎮 JavaScript AI tank game
Stars: ✭ 323 (-20.64%)
Mutual labels:  ai, game
Overmind
AI for Screeps, a multiplayer programming strategy game
Stars: ✭ 320 (-21.38%)
Mutual labels:  ai, game
Opensteer
OpenSteer is a C++ library to help build steering behaviors for autonomous characters in games and animation.
Stars: ✭ 202 (-50.37%)
Mutual labels:  ai, game
Movement Tracking
UP - DOWN - LEFT - RIGHT movement tracking.
Stars: ✭ 379 (-6.88%)
Mutual labels:  ai, game
Clashjs
Javascript AI battle game. Create your own battleship.
Stars: ✭ 196 (-51.84%)
Mutual labels:  ai, game
Ja2 Stracciatella
The continuation of the venerable JA2-Stracciatella project.
Stars: ✭ 258 (-36.61%)
Mutual labels:  hacktoberfest, game
Free Ai Resources
🚀 FREE AI Resources - 🎓 Courses, 👷 Jobs, 📝 Blogs, 🔬 AI Research, and many more - for everyone!
Stars: ✭ 192 (-52.83%)
Mutual labels:  ai, hacktoberfest
Base
Base environment for Red Eclipse and associated source files.
Stars: ✭ 273 (-32.92%)
Mutual labels:  hacktoberfest, game
Pai
Resource scheduling and cluster management for AI
Stars: ✭ 2,223 (+446.19%)
Mutual labels:  ai, hacktoberfest
Classic Pool Game
Classic 8 Ball pool game written in JavaScript
Stars: ✭ 177 (-56.51%)
Mutual labels:  ai, game
Glportal
🎮 Open Source teleportation based first person puzzle-platformer
Stars: ✭ 297 (-27.03%)
Mutual labels:  hacktoberfest, game
Nnstreamer
🔀 Neural Network (NN) Streamer, Stream Processing Paradigm for Neural Network Apps/Devices.
Stars: ✭ 329 (-19.16%)
Mutual labels:  ai, hacktoberfest

TooAngel Artificial intelligence for screeps

Codacy Badge CircleCI Code Climate npm version slack discord

https://screeps.com/

See rendered version: http://tooangel.github.io/screeps/

This repository is World Driven. Pull Requests are automatically merged and deployed to the Screeps TooAngel account.

Quests

Head over to Quests

For in game room visitors:

Happy to see you visiting one of our rooms. Visit FAQ to find answers

Info

This is the AI I'm using for screeps. I managed to reach Top 10 from November 2015 - March 2016. Main Goal is to automate everything, no manual interaction needed.

The AI is deployable on a private screeps server, follow the information on Steam or npm install screeps-bot-tooangel and bots.spawn('screeps-bot-tooangel', ROOMNAME)

Note

This is not a good example for code quality or structure, most LOCs written while fighting or other occasions which needed quick fixes or in the ingame editor (getting better :-)). But I think there are a couple of funny ideas. Every contribution is welcome.

Features

Tweaking

Add a src/friends.js with player names to ignore them from all attack considerations.

E.g.: module.exports = ['TooAngel'];

Add a src/config_local.js to overwrite configuration values. Copy config_local.js.example to src/config_local.js as an example. src/config.js has the default values.

Debugging

Within the config_local.js certain config.debug flags can be enabled. To add debug messages Room.debugLog(TYPE, MESSAGE) and Creep.creepLog(MESSAGE) are suggested. Especially the creepLog allows granular output of the creep behavior based on the room and the creep role.

Upload

install dependencies

npm install

add your account credentials

to screeps.com

To deploy to the live server provide the credentials.

via env

export email=EMAIL
export password=PASSWORD

via git ignored file

echo "module.exports = { email: '[email protected]', password: 'your-secret' };" > account.screeps.com.js

or edit and rename account.screeps.com.js.sample to account.screeps.com.js

And deploy to the server:

grunt

to private server

Create a .localSync.js file with content:

module.exports = [{
  cwd: 'src',
  src: [
    '*.js'
  ],
  dest: '$HOME/.config/Screeps/scripts/SERVER/default',
}];
grunt local

Develop

grunt dev

Release

Releasing to npm is done automatically by increasing the version and merging to master.

npm version 10.0.1
git push --follow-tags

Every deploy to master is automatically deployed to the live tooangel account.

Testing

node utils/test.js will start a private server and add some bots as test cases. Within in the tmp-test-server directory the server can be easily started via screeps start.

Design

More details of the AI design

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].