ChatGPT is surprisingly good at coding simple websites. We had been reading about people generating browser based games using ChatGPT and decided to see if we could come up with the next Wordle.
Our previous review of ChatGPT’s programming expertise was a bit of a mixed bag. Our conclusion was that ChatGPT was useful for code snippets, commenting, suggesting approaches, error message diagnosis and providing examples of common code with well documented solutions. It is not so good at generating code for large, complex, or niche applications.
ChatGPT — As a Programming Tool
Although ChatGPT is unlikely to be replacing programmers anytime soon, it can be a useful coding assistant. In this…
Playing the Game
We wanted to create an “original” game that provided you with up to five clues or facts about popular programming languages. Based on these clues, you had to guess which programming language was being described. Perhaps not the next Wordle, but it should demonstrate ChatGPT’s capabilities.
The approach that we will use is called prompt chaining. This is described in depth in our original Large Language Model (LLM) article about Prompt Engineering. Basically the idea is to break the task down into digestible chunks and iterate on the code until we get the result that we are…