Open2

ChatGPTと協力してゲームを作ろう!

daylightdaylight

ChatGPTのスレッド

TODO: ある程度完成したら共有リンクを貼ります。

daylightdaylight

Bun ✖️ Next.jsで作ってみる。

BunもNext.jsのAppRouterも興味があったからこの際試してみる。
デプロイ先はVercelで試すつもりだから、AppRouterでも行けるだろう。
描画フレームワークはThree.jsを検討。

guardians-of-galaxy (main)✓
$ bun create next-app .
✔ Would you like to use TypeScript? … No / Yes
✔ Would you like to use ESLint? … No / Yes
✔ Would you like to use Tailwind CSS? … No / Yes
✔ Would you like to use `src/` directory? … No / Yes
✔ Would you like to use App Router? (recommended) … No / Yes
✔ Would you like to customize the default import alias (@/*)? … No / Yes
Creating a new Next.js app in /Users/tanimura/dev/github/github.com/daylight55/guardians-of-galaxy.

Using bun.

Initializing project with template: app-tw


Installing dependencies:
- react
- react-dom
- next

Installing devDependencies:
- typescript
- @types/node
- @types/react
- @types/react-dom
- autoprefixer
- postcss
- tailwindcss
- eslint
- eslint-config-next

bun install v1.0.7 (b0393fba)
 + @types/node@20.8.9
 + @types/react@18.2.33
 + @types/react-dom@18.2.14
 + autoprefixer@10.4.16
 + eslint@8.52.0
 + eslint-config-next@14.0.0
 + postcss@8.4.31
 + tailwindcss@3.3.5
 + typescript@5.2.2
 + next@14.0.0
 + react@18.2.0
 + react-dom@18.2.0

 329 packages installed [24.43s]
Success! Created guardians-of-galaxy at /Users/tanimura/dev/github/github.com/daylight55/guardians-of-galaxy

threeを追加

$ bun add three
bun add v1.0.7 (b0393fba)

 installed three@0.158.0


 1 package installed [1079.00ms]