This is a Tetris® game coded by ChatGPT (2022 Dec 15 version). For the most part, the code is verbatim what ChatGPT spat out apart from a few minor fixes here and there (see the recording below). For this project, I will take the code ChatGPT produced and build it out into a full-blown multi-player game. Anyone is free to contribute.
git clone git@github.com:thdoan/tetri-gpt.git
to clone repo.cd tetri-gpt
to change to repo directory.npm install
to install dependencies.- Code away!
npm run build
to build for production (insidedist
directory).npm run watch
to watch for changes.