Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 1.56 KB

README.md

File metadata and controls

33 lines (18 loc) · 1.56 KB

Coding a Tetris Game with ChatGPT

The goal of this small project was to achieve a debugged application using ChatGPT. It was assumed in advance that the development of the project is carried out without any knowledge in the field of programming. The developer is not a programmer, but only instructs ChatGPT in simple writing, adding game functionality and fixing bugs.

It took patience and a day of work to complete the task, and as a result, we can conclude that ChatGPT cannot replace a programmer. ChatGPT does not know how to evaluate and test its code. ChatGPT is not a developer, ChatGPT is only a tool in the developer's hands.

It should be added that not all code was made by AI. Sometimes patience ran out and I had to make small edits manually. This could have been avoided, but it would have taken longer. However, it's safe to say that most of the code was generated by ChatGPT.

Of particular interest is the development.md file, which contains the history of interaction with ChatGPT.

Installation on Linux

  1. Download files

  2. It is recommended to use a virtual environment

python -m venv venv

source venv/bin/activate

  1. Install additional pygame package

pip install pygame

Game launch

python tetris.py