July 31, 2023, 6:34 a.m. | Bala Madhusoodhanan

DEV Community dev.to

Intro:

As a curious enthusiast, wanted to explore the problem solving with both traditional algorithms and solve the same with LLM. While both are powerful tools for problem-solving, they operate on different principles and exhibit unique strengths. The problem scoped to explore was to build the timeless game of Tic Tac Toe.





Method 1: Traditional Rule based Algorithm


Initializing variables:

XVar's These variables represent the positions on the game board where "X" icons are placed. When a player …

algorithms build chatgpt context explore game gamedev intro language llm powerfuldevs powerplatform precision problem-solving tools

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Data Scientist (Database Development)

@ Nasdaq | Bengaluru-Affluence