Play AI experiment
GPT Slot Machine's itch.io pageLarge Language Model system
ChatGPT May 12 Version
Link to LLM
https://chat.openai.com/
Prompt
Using prompt "Make a slot machine game in html with a graphical interface. Make it so the player starts with 100 coins. The player wins coins when there are 3 of the same symbol in a horizontal row on the reels. The player can choose the amount of coins they are betting for each spin, the amount of coins the player bets can be 5, 10, 15, 25, 50 or 100 coins. Add a coin count. The chosen amount of coins that are bet will be removed from the player's coins. The more the player bets, the more they can win back. Use 155x155 PNG sprites instead of emojis for the symbols. After the player presses spin, all reels keep spinning for 2 seconds and the symbols keep cycling and then it's revealed if the player has won. If the player runs out of coins, allow them to restart the game with 100 coins by clicking a "Restart" button. Center all the elements and make a sophisticated graphical interface."
Side note: I happened to use pre-made slot machine symbols. ChatGPT at first insisted on using emojis as the symbols but after uploading the game, I found out emojis didn't work at all.
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet