- := title SKYNET02
- := description A devlog documenting the creation of bots that communicate over multiple protocols.
SKYNET
- I have already implemented IRC bots using node.js.
- SKYNET01
- Many issues with that project came to light. The messages that were passed among the bots happened too frequently and the code for parsing the actions that the bots could perform was written poorly and hard to maintain.
- I am starting a complete rewrite of the code using a more modular architecture. This will allow different networking protocols to be added later. This will also allowing the commands sent to the bots and the actions they need to perform to be easily modified.
The goal for the first iteration:
- [ ] - Direct websocket connectivity
- [ ] - IRC, possibly multiple servers simultaneously
- [ ] - Asymetric encryption
- [ ] - Webscraping
- Bots score points by staying online. 1 point every 15 minutes, all online bots must keep track of everyone's score. When a bot joins a public room (IRC, Telegram, etc) it starts with a score of zero. The bot with the highest score generates the public key for the group to use when communicating with the entire group. Each bot has their own public and private key for direct messages. Bots can run commands sent in by operators. Commands carry a weight in points that a bot earns to increase their score. All bots must obey commands of the leader or risk losing points or being labeled as an 'intruder.'