小天管理 Posted September 12, 2024 Posted September 12, 2024 用演示视频中给的提示词, 竟然真的生成了贪吃蛇游戏, 一次成功视频链接: youtube.com/watch?v=7GaKl6HwZ50提示词: Implement Snake with HTML + JS + CSS. The entire code should be written in a single HTMLblock with embedded JS and CSS. Don't use any remote assets. After opening the html, userwill need to hit space to start / restart the game, the snake will randomly go in one direction atthe start and use "wasd" to control the direction of the snake. Make it pretty and the playgroundlarge.
Recommended Posts