Skip to content

04 - Display Game#5

Open
julesnuggy wants to merge 11 commits into
03-send-gpt-requestfrom
04-display-game
Open

04 - Display Game#5
julesnuggy wants to merge 11 commits into
03-send-gpt-requestfrom
04-display-game

Conversation

@julesnuggy

Copy link
Copy Markdown
Contributor

No description provided.

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ignore

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

createStage(setting, actions);

@julesnuggy julesnuggy Jul 13, 2023

Copy link
Copy Markdown
Contributor Author

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