AI startups · 2023-04-06

Play a perpetual battle game generated by AI – Startups

Infinite Adversaries is a story-based “Choose Your Own Adventure” game developed by Felix Jung that is free to play & enjoy. But get this – the game uses ChatGPT to generate infinite games that are entertaining, original, & fun.

Players are offered a choice of weapons at the beginning of the game. Game play is generated by the AI bot, & the player is presented with an adversary to wield their chosen weapon against. Each encounter has a short backstory attached, & the player is informed about the adversary’s “superpowers”, the location of the battle, & the potential threats.

The player is then given a selection of actions to choose from, & depending on the outcome of their selection, they either gain or lose points. The game has 4 rounds, & points are totaled on the basis of each outcome. If the player wins, they can generate a new adversary to size up to. If they lose, they can start over from scratch.

AI works in the background continuously. The system operates by using ChatGPT to create a random set of weapons for the players to choose between. Next, AI “creates” an adversary & a battle scenario that is absolutely unique to each encounter so that the players’ interest is maintained. Once ChatGPT presents the battle, DALL-E is prompted to produce a suitable image to accompany the battle scene.

Basically, the entire game play of Infinite Adversaries is generated automatically by AI. This game is only a sample of the kinds of AI generation we’re going to see in the months to come because it’s possible to construct a very detailed roleplaying game solely using AI.

Felix’s code for the game is open source & is available on his GitHub repository. He’s also offered a link to a directory that demonstrates the prompts used to generate the weapons, adversaries, & possible outcomes.

Image credit: Infinite Adversaries

Click here to opt-out of Google Analytics