This project aims to downloads icons from Little Alchemy, processes them, creates a spritesheet, and provide a validation Pygame quiz. Which is meant Handles cases where there are more images than element names.
- Downloads and resizes images (32x32).
- Handles transparency (alpha channel).
- Indexed color conversion (8 "8-bit" colors).
- Spritesheet creation with padding and optional text labels.
- Pygame-based interactive quiz.
- Handles more images than provided names (unnamed images are included in the spritesheet without labels, and the quiz only uses named elements).
- Python 3.7+
Pillow,requests,pygame:pip install Pillow requests pygame
git clone <repository_url>cd Little-Alchemy-Asset-Ripperpython element_downloader.py
Modify these variables in if __name__ == "__main__"::
url_template: Image URL template ({number}placeholder).start_number,end_number: Image number range.output_folder,spritesheet_output: Output paths.names: List of element names (order matters). Fewer names than images are handled gracefully.images_per_row,padding: Spritesheet layout options.
The spritesheet is saved as elements_spritesheet.png. The validation game is launched after the spritesheet is created. The quiz will only use the names provided in the names list.
During the analysis stage, I notice there were more images than the actual names of the elements when reverse engineering the hint's site. I decided to create a quiz game to test and check if images didn't match with the names generated in validation/names.txt. The quiz game only uses the names of the elements that are provided in the names list which where found on the hints site. Once done, a validation report will be generated allow us to run analysis on the data. Most of the images that weren't in the names list were actually memes or easter eggs that were added to the game (_There was a lot of candy _:P ).
Below is a list of the image names that were not in the names list:
- Little Alchemy
- Little Alchemy hints website
- ChatGPT / Gemini were used during the development of this project
Copyright © 2024 - Alvajoy Asante




































