/tetri-gpt

A Tetris® clone coded by ChatGPT.

Primary LanguageJavaScriptMIT LicenseMIT

TetriGPT

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.

Origin Story »

Demo »

Instructions

  1. git clone git@github.com:thdoan/tetri-gpt.git to clone repo.
  2. cd tetri-gpt to change to repo directory.
  3. npm install to install dependencies.
  4. Code away!
  5. npm run build to build for production (inside dist directory). npm run watch to watch for changes.