This is a js13k games entry for the 2021 Decentralized category.
It includes:
Image Storage both in AWS & on nft.storage
Bulk minting of NFTs after generating NEAR CLI commands
Smart Contract for the NEAR Blockchain
Front-end Game Files
git clone https://github.com/BenjaminWFox/js13k-webpack-starter-2020.git
cd js13k-webpack-starter-2020
npm install
npm run develop
develop: Starts the webpack dev server on http://localhost:8080/build: Creates a compact, minified build in/distlint: Runs eslint to check for errors. Better to set this up in your IDE to check automatically on save.
There are some files & code included as examples of function & syntax that are not meant to be included in the final bundle. You can basically remove everything from the files listed below, but the largest chunks are:
index.js- the.scssand.pngimportmain.scss- the.pngbackground-imageindex.html- the<img>tag- These 3 images are in
assets/images/spritesand can also be deleted
None of these files are included in your final bundle.
manifest.json- The metadata file used when submitting your final gameimage_large.png- The large image that shows on the game detail pageimage_thumbnail.png- The thumbnail preview image that shows on the games gallery page