Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/szdytom/infinite-autocraft
An auto craft script for the game Infinite Craft.
https://github.com/szdytom/infinite-autocraft
Last synced: 3 months ago
JSON representation
An auto craft script for the game Infinite Craft.
- Host: GitHub
- URL: https://github.com/szdytom/infinite-autocraft
- Owner: szdytom
- Created: 2024-02-12T14:27:22.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-02-24T01:48:31.000Z (11 months ago)
- Last Synced: 2024-10-09T19:42:50.996Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 490 KB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Infinite Autocraft
This is a script to explore the game [Infinite Craft](https://neal.fun/infinite-craft/).
## Structure
- `bstruct/`: My library to encode/decode JavaScript values into/from binary (shared between local and web app).
- `pages/`: A react APP, the frontend of the explored result.
- `src/index.mjs`: The main explore script, does crafting and saves result into SQLite database.
- `src/pg.mjs` and `src/token-bucket.mjs`: My simple implementations of common data structures used (shared between local and web app).
- `src/export.mjs`: Generated a line of code that can override data of the original Infinite Craft frontend (copy and execute the output in console).
- `src/create-index.mjs`: Encode data for the frontend app.
- `src/find-path.mjs`: Calculate crafting depth and ensures the database is correct.
- `src/data-typedef.mjs`: defines the structure of binary data loaded by the frontend (shared between local and web app).