ChatGPT4でゲームが作りに挑戦している例の紹介。
ChatGPT4でゲームが作れる?
ChatGPT4はプログラムのソースコードも生成してくれます。
ということはやり方でいろんなゲームを作ることができそうです。
DOOM
DoomといえばIDソフトウェアによる3Dアクションゲーム原始時代の金字塔の1つ。
以下のツィートではGDP4を使ってDOOM作りに挑戦しています。
Create a basic 3D game prototype like Doom using GPT-4.
— Javi Lopez ⛩️ (@javilopen) 2023年3月15日
Let GPT do all the maths, raycasting and hard work!
🧵 A thread pic.twitter.com/IZgSlj4QTO
DOOMが遊べるというところまではいきませんが、3Dのダンジョンを移動できるところは一応再現されています。
Pong
こちらはPONGゲームのプロトタイプ。
エアホッケーのようなやつです。
Chat GPT-4 can't make Space Invaders yet, but it can output an almost complete Pong with the correct prompting. #ChatGPT4 #ChatGPT pic.twitter.com/1jwki6Vhlb
— writer of strange software (@DrMiaow) 2023年3月15日
シューティングゲーム
GPT-4でP5.jsを使ったコード。
スプライト画像はMidjourney。
How to make Asteroids game with GPT-4
— Kris Kashtanova (@icreatelife) 2023年4月1日
and your own A.I. generated textures.
1. Write this prompt in GPT-4: "write p5.js code for Asteroids where you control a spaceship with the mouse and shoot asteroids with the left click of the mouse. If your spaceship collides with an… pic.twitter.com/ygOhFmhDL7
テトリス
スペースインベーダー
ゲームウォッチ