Skip to content

Simple program to anyze reddit r/place 2022 contributions

License

Notifications You must be signed in to change notification settings

Neutroni/rplace_util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rplace_util

Simple program to analyze reddit r/place 2022 or 2023 contributions

The program can search for users who edited the canvas in certain areas or show info about edits of a user The number of pixels placed total and info about pixels that made it to the final image and the pixels that survived to the actual end of the r/place are shown

Configuration

Program takes a single command line argument as the location of a file used to configure the program, if no file is specified default of 'config.toml' is used. Configuration is done using TOML for which documentation can be found at https://toml.io/

Sample configuration file is provided in the repository as config.toml

Configuration file needs to contain the location of the CSV file used to store canvas edits, compressed archive of the 2022 file can be downloaded from Reddit for 2023 split files can be found here you need to download all the files and combine uncompressed files to single file with headers only from the first file

  • csv_location defines the location of the uncompressed CSV file
  • user_id Which defines the hashed user id of the user we want to analyze contributions for, if you do not know the user id hash program can find potential users based on users who edited areas on the canvas
  • no_edits_outside Which defines if users who have edits outside selected areas should be removed from the list of potential users, default is 'true'
  • search_areas is array of tables that defines the areas that are to be searched
    • start_time Optional, Defines the earliest time user can have edited a pixel in the search area
    • end_time Optional, Defines the latest time user can have edited a pixel in the search area
    • is_optional Optional, Do not remove users who have edits in area but do not require edits in the area
    • colours Optional, Define colours which the edits can use, TOML string array
    • area Defines the edges of the area to search
      • left X-coordinate of the left edge of the search area
      • top Y-coordinate of the top edge of the search area
      • right X-coordinate of the right edge of the search area
      • bottom Y-coordinate of the bottom edge of the search area

About

Simple program to anyze reddit r/place 2022 contributions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages