This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
restart_game [2020/04/21 18:11] – justin | restart_game [2021/04/21 18:44] (current) – justin | ||
---|---|---|---|
Line 14: | Line 14: | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | restart_game() | + | restart_game(); |
</ | </ | ||
// | // | ||
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Restart Game** function when the player has made an incorrect choice leading to the end of a story with multiple | + | Use the **Restart Game** function when the player has made an incorrect choice leading to one end of a multiple-ending story or after stepping onto a deadly trap that can't be survived. |
</ | </ | ||