grind086 / placebot Goto Github PK
View Code? Open in Web Editor NEWA bot for reddit.com/r/place
A bot for reddit.com/r/place
I'm from /r/TheBlueCorner and I want to configure it to automatically place blue tiles in the blue corner. Is this possible right now? If yes, how?
I feel like I'm a little confused on how to actually use this based on the instructions. I added the Userscript to Grease Monkey. The script looks like this:
// ==UserScript==
// @name PlaceBot
// @Version 0.0.8
// @namespace https://github.com/grind086/PlaceBot
// @description A bot that automates drawing on reddit.com/r/place
// @grant unsafeWindow
// @include http://www.reddit.com/r/place/
// @include https://www.reddit.com/r/place/
// ==/UserScript==(function() {
var s = document.createElement('script');
s.setAttribute('type', 'text/javascript');
s.setAttribute('src', 'https://grind086.github.io/PlaceBot/dist/placebot.min.js');
document.head.appendChild(s);
})();placeBot.tiles = [[531, 391, 0];
placeBot.tileSelector = PlaceBot.selector.TopDown;
placeBot.save();
Just put in a test of putting a white square in that spot, but it doesn't seem to do anything when I am on the /r/place page. What am I doing wrong?
When the pixel.json?x&y test fails to return a result due to an error (502), it breaks the timeout chain and the bot comes to a halt. I imagine the error is due to load on the server. Manually calling drawNext() restarts the chain.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.