Earlier this year, the Steam platform added regulations that require developers to disclose content developed using AI when submitting games. The new MOBA shooting game “Deadlock” developed by the parent company Valve has also begun to involve AI. Valve developers asked the generative AI tool ChatGPT The consultation successfully found ways to reduce the waiting time for multiplayer matchmaking.
Valve engineer Fletcher Dunn recently revealed that he consulted ChatGPT when developing the matchmaking system for the new game “Deadlock” and benefited from the AI-inspired discovery of the “Hungarian algorithm”. He praised OpenAI’s large-scale language model as “amazing.” Amazing development tools.
Foreign media PC Gamer reported that Dunn has been working at Valve since 2011 and has participated in the production of “Dota 2”, “Fortress 2” and “CS:GO” and the development of the Steam platform.
Dunn’s past contributions include building a large-scale DDoS defense system for Steam, demonstrating his in-depth understanding of network technology. He also published an introductory 3D mathematics book “3D Math Primer for Graphics and Game Development” for game developers on the Internet for free.
According to Dunn’s tweet on October 2, a few days ago he switched the character selection matching system of “Deadlock” to a mode using the Hungarian algorithm. The attached picture is the conversation process with the AI: He asked ChatGPT for advice on a method that can achieve specific conditions. A pairing algorithm where the conditions include one party having a weighted option, expressed in the form of a fraction, and the total number of pairs of fractions needs to be minimized.
ChatGPT analyzed that the problem Dunn encountered was “minimum weight matching” and suggested that the Hungarian algorithm can effectively solve this problem.
I’m gonna keep posting my ChatGPT wins, because this thing keeps blowing my mind, and I think there are some skeptics who don’t get how amazing this tool is.
A few days ago we switched Deadlock’s matchmaking hero selection to the Hungarian algorithm. I found it using ChatGPT pic.twitter.com/dyLPDPyBJ8
— Fletcher Dunn (@ZPostFacto) October 2, 2024
The Hungarian algorithm is an algorithm used to solve “allocation problems”. It aims to effectively allocate various tasks to different people and properly consider the cost or weight of each task.
When used in the online mode of “Deadlock”, two teams of 6 players will compete in each game. The roles of the enemy and friends will not be repeated. Therefore, 12 different heroes will appear in each game, and players can choose at least three heroes. , and set priorities for each hero and give weight to each option.
Dunn said that the Hungarian algorithm is used to meet the needs of each player to the greatest extent, thereby reducing problems such as “the desired character is not available, resulting in too long matchmaking time” and “being forced to use heroes that you don’t want to play at all” to achieve Smoother multiplayer matchmaking experience.
Dunn acknowledged that the same answer could have been found with the right Google search terms, but stressed that the point was that he didn’t need to, and even though he vaguely described his need, ChatGPT immediately responded with the answer he wanted.
I use it for “tip of the tongue” scenarios all the time. I’m thinking of a movie but can’t remember the title? Describe the movie as best I can and it will tell me the title. I love it for that.
— Troopster (@TroopsterCS2) October 2, 2024
In addition, Dunn spoke highly of the current ChatGPT in September this year and said that we are in the “golden age of ChatGPT.” He pointed out that the current Google search engine has been polluted by SEO (search engine optimization) and bait-style titles, and ChatGPT You can obtain high-quality information more quickly.
However, the Valve senior engineer mentioned that even ChatGPT may face problems such as the proliferation of low-quality content and difficulty in obtaining high-quality information in the future, and expressed concerns about AI citing “legally questionable” content.
Prediction: we are in a ChatGPT golden age. In 5 ys, we will look back fondly on this time.
Sort of like how we look back on the golden age of google search, when it was actually useful. Before SEO and bots won the war, and everything became ads, click-bait, fake forums, etc.
— Fletcher Dunn (@ZPostFacto) September 8, 2024