"Create a character based on a quiz. Print a character sheet or mint an NFT." ~Donzo
index.html
: The main HTML file that contains the structure of the character generator.css.php
: PHP file for including CSS styles.js.php
: PHP file for including JavaScript code.my-character.php
: PHP file for processing the form submission and displaying the generated character.character-sheet.php
: PHP file for generating a character sheet with all the character image and stats
- Run the code using
php -S localhost:8000
- Fill out the form by answering the questions.
- Click the "Generate Avatar" button to generate your character image.
- The generated character will be displayed on the page.
- Click on "Generate Character Sheet" button to generate your character sheet pdf.
This project does not have any external dependencies. It uses only HTML, CSS, JavaScript, and PHP, which are all included in the project files.
Contributions to this project are welcome. If you find any issues or have any suggestions for improvement, please open an issue or submit a pull request on the project's GitHub repository.
This project is licensed under the MIT License. You are free to use, modify, and distribute this code for personal or commercial purposes.