Welcome to the CYOA Game Project! Fork this starter code to begin your quest.
Your project should:
- Include at least five screens with text related to your story on each.
- Start on a home screen that begins the story.
- Include at least two screens that offer players a choice between two options.
- Use p5play properties to style your button sprites.
- Apply nested conditionals, variables, and the
mouse.pressesmethod to code branching paths in your story. - Create and call a function for each screen to keep your code organized.
- Optional:
- Create a flowchart and storyboard to prototype your CYOA mod.
- Mod the base game to make it your own by updating the game text and visuals to display your own story.
You can extend your project further by:
- Trying a Spice Level Challenge (See Part 6)
- Making it accessible (See HQ for details)
- Adding more screens (See HQ for details)
If you used any code, ideas, images, or resources from another person or group of people, tell us about it here. Make sure it is in the public domain, has a license that allows you to use it, or is one of your own. Pixabay, Upsplash, and Burst are sites that offer free, uncopyrighted images.
- Add here if applicable
This is where we will add the JavaScript, p5.js, and p5.play code for our game.
The HTML file contains HTML code that sets up a webpage for our game. We also add libraries in this file using HTML tags.
That's this file. This is the place to tell people more about what your game does and how you built it.
The CSS file adds styling rules to your content like changing colors and fonts. We will not use this file for our game and instead update the style of our game in the script.js file.