Zequez / reddit-placebot

A bot that paints on Reddit /r/place. Works with multiple accounts, and can work with a remote target file for multiple people with the same objective.
MIT License
227 stars 78 forks source link

Shuffles actions #25

Closed martinrlilja closed 7 years ago

martinrlilja commented 7 years ago

Just a quick fix to shuffle actions before returning them from board_differ.js

As a side note: ./tmp doesn't get automatically created on the first run, so the script will crash before you manually create that folder.

cjwelborn commented 7 years ago

Issue #26 created for the /tmp problem. I noticed that everyone running the bot is overwriting each other's pixels (I guess the bot reads the diffs about the same time, and everyone paints the same pixel). Please shuffle :smile:.

cjwelborn commented 7 years ago

@Zequez, this patch makes a big difference, so that the bot's efforts are not wasted.

Zequez commented 7 years ago

Good idea, another person mentioned it before. Wasn't possible before the recent user-bundling feature. Thanks!