Subject
- #AI Web Game
- #Perplexity
- #Javascript
- #30-Minute Development
- #Python
Created: 2024-11-08
Updated: 2024-11-08
Created: 2024-11-08 17:07
Updated: 2024-11-08 17:09
Basically, as a computer science major working in infrastructure, web, DB, cloud, Linux, and so on
while working in the field,
I hadn't felt much benefit from AI.
Then, through SKT's perplexity promotion, I got a one-year pro license, so I wondered how I could use it effectively
After thinking about it, I decided to make a web game.
The prompts I entered are as follows.
Q1. Do you know about a web game called Hall of Fame?
Q2. Generate the source code for a web game like Hall of Fame. (Python code generated)
Q3. Modify the above source code to use JavaScript and HTML.
Q4. Modify the above source code to check the status of the protagonist. (Python code generated)
Q5. Change it to JavaScript and reflect it in the integrated source code above.
Q6. In the integrated source code above, add monster types and modify each monster's abilities differently.
Q7. In the integrated source code above, add a function where the protagonist's abilities grow when they level up.
Q8. In the integrated source code above, when the protagonist wins against a monster, modify it so that they can randomly obtain weapons that increase attack power and armor that increase defense power.
I only requested 8 queries, and the whole process took about 30 minutes. (Including the time to actually test the generated source code in between.)
And the result was amazing.
Actually took 10 minutes.img
Start the game, fight to gain experience points, level up, acquire items, skill points, equipment application reflection, etc.
It only took 30 minutes to create a simple web game with excellent basic functions.
... Let's make a web game with AI~!
Those who want to test it can do so via the link below.
Comments0