illustration
Blog Posts

Using ChatGPT in creating a game and an artificial intelligence player

Have you ever wondered how challenging it would be to train artificial intelligence to play tic-tac-toe with you? What kind of process would developing AI as a competitive player against a human entail? Our Software Specialist, Tero Halkoaho, decided to test this and document his findings for others to benefit from.

Prompts, Python code, and game logic

The goal was to utilize ChatGPT to create both a game and an AI opponent. It's evident that teaching the concept of the game and winning game strategies to AI doesn't happen with a single short prompt; rather, the work progresses gradually. The human's role in the project is to guide ChatGPT on the features and rules of the game being created. Another crucial task is refining the output step by step. Especially to diversify the game logic, the instructions also need to be versatile.

Here, you'll find a step-by-step description of how the test project progressed, and at the same time, you'll discover how many iteration rounds were needed before the AI defeated the human >>

Here, you'll find a step-by-step description of how the test project progressed, and at the same time, you'll discover how many iteration rounds were needed before the AI defeated the human >>

If you're interested in learning how AI solutions can be utilized in your own organization, feel free to get in touch!

Do you want to hear more about this subject? Leave your contact details and we will be in touch.

By submitting the form, I consent to the storage and processing of my data in accordance with the privacy statement.