Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

04 - Display Game #5

Open
wants to merge 11 commits into
base: 03-send-gpt-request
Choose a base branch
from
Open

04 - Display Game #5

wants to merge 11 commits into from

Conversation

julesnuggy
Copy link
Contributor

No description provided.

@julesnuggy julesnuggy force-pushed the 03-send-gpt-request branch from 2d7ae74 to c849232 Compare June 22, 2023 19:13
main.js Outdated
Comment on lines 5 to 7
if(!setting || !actions.length) {
return null;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ignore

main.js Outdated
console.log('SETTING:', setting);
console.log('ACTIONS:', actions);

createStage(setting, actions);
Copy link
Contributor Author

@julesnuggy julesnuggy Jul 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrap 57 with if (actions.length) {} to avoid error if ChatGPT decides to game over (which is not yet setup)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant