In
video games
Video games, also known as computer games, are electronic games that involves interaction with a user interface or input device such as a joystick, game controller, controller, computer keyboard, keyboard, or motion sensing device to gener ...
, a bot is a type of
artificial intelligence
Artificial intelligence (AI) is intelligence—perceiving, synthesizing, and inferring information—demonstrated by machines, as opposed to intelligence displayed by animals and humans. Example tasks in which this is done include speech re ...
(AI)–based
expert system
In artificial intelligence, an expert system is a computer system emulating the decision-making ability of a human expert.
Expert systems are designed to solve complex problems by reasoning through bodies of knowledge, represented mainly as if†...
software
Software is a set of computer programs and associated documentation and data. This is in contrast to hardware, from which the system is built and which actually performs the work.
At the lowest programming level, executable code consists ...
that plays a video game in the place of a human. Bots are used in a variety of
video game genre
A video game genre is an informal classification of a video game based on how it is played rather than Computer graphics, visual or narrative elements. This is independent of setting (fiction), setting, unlike works of fiction that are expressed ...
s for a variety of tasks: a bot written for a
first-person shooter
First-person shooter (FPS) is a sub-genre of shooter video games centered on gun and other weapon-based combat in a first-person perspective, with the player experiencing the action through the eyes of the protagonist and controlling the pl ...
(FPS) works very differently from one written for a
massively multiplayer online role-playing game
A massively multiplayer online role-playing game (MMORPG) is a video game that combines aspects of a role-playing video game and a massively multiplayer online game.
As in role-playing games (RPGs), the player assumes the role of a Player charac ...
(MMORPG). The former may include analysis of the
map
A map is a symbolic depiction emphasizing relationships between elements of some space, such as objects, regions, or themes.
Many maps are static, fixed to paper or some other durable medium, while others are dynamic or interactive. Although ...
and even basic strategy; the latter may be used to automate a repetitive and tedious task like
farming
Agriculture or farming is the practice of cultivating plants and livestock. Agriculture was the key development in the rise of sedentary human civilization, whereby farming of domesticated species created food surpluses that enabled people to ...
.
Bots written for first-person shooters usually try to mimic how a human would play a game. Computer-controlled bots may play against other bots and/or human players in unison, either over the Internet, on a
LAN or in a local session.
[GameBots: A Flexible Test Bed for Multiagent Team Research](_blank)
Gal A. Kaminka, Manuela M. Veloso, Steve Schaffer, Chris Sollitto, Rogelio Adobbati, Andrew N. Marshall, Andrew Scholer, and Sheila Tejada. Communications of the ACM, 45(1):43–45, January 2002. Features and intelligence of bots may vary greatly, especially with community created content. Advanced bots feature
machine learning
Machine learning (ML) is a field of inquiry devoted to understanding and building methods that 'learn', that is, methods that leverage data to improve performance on some set of tasks. It is seen as a part of artificial intelligence.
Machine ...
for dynamic learning of patterns of the opponent as well as dynamic learning of previously unknown maps – whereas more trivial bots may rely completely on lists of waypoints created for each map by the developer, limiting the bot to play only maps with said waypoints.
Using bots is generally against the rules of current
massively multiplayer online role-playing game
A massively multiplayer online role-playing game (MMORPG) is a video game that combines aspects of a role-playing video game and a massively multiplayer online game.
As in role-playing games (RPGs), the player assumes the role of a Player charac ...
s (MMORPGs), but a significant number of players still use
MMORPG bots
A massively multiplayer online role-playing game (MMORPG) is a video game that combines aspects of a role-playing video game and a massively multiplayer online game.
As in role-playing games (RPGs), the player assumes the role of a character (of ...
for games like
RuneScape
''RuneScape'' is a fantasy massively multiplayer online role-playing game (MMORPG) developed and published by Jagex, released in January 2001. ''RuneScape'' was originally a browser game built with the Java programming language; it was large ...
.
MUD
A MUD (; originally multi-user dungeon, with later variants multi-user dimension and multi-user domain) is a Multiplayer video game, multiplayer Time-keeping systems in games#Real-time, real-time virtual world, usually Text-based game, text-bas ...
players may run bots to automate laborious tasks, which can sometimes make up the bulk of the gameplay. While a prohibited practice in most MUDs, there is an incentive for the player to save time while the bot accumulates resources, such as
experience
Experience refers to conscious events in general, more specifically to perceptions, or to the practical knowledge and familiarity that is produced by these conscious processes. Understood as a conscious event in the widest sense, experience involv ...
, for the
player character
A player character (also known as a playable character or PC) is a fictional character in a video game or tabletop role-playing game whose actions are controlled by a player rather than the rules of the game. The characters that are not control ...
.bot
Types
Bots may be static, dynamic, or both. Static bots are designed to follow pre-made
waypoint A waypoint is an intermediate point or place on a route or line of travel, a stopping point or point at which course is changed, the first use of the term tracing to 1880. In modern terms, it most often refers to coordinates which specify one's posi ...
s for each level or map. These bots need a unique waypoint file for each map. For example, ''
Quake III Arena
''Quake III Arena'' is a 1999 multiplayer-focused first-person shooter developed by id Software. The third installment of the ''Quake'' series, ''Arena'' differs from previous games by excluding a story-based single-player mode and focusing prima ...
'' bots use an area awareness system file to move around the map, while ''
Counter-Strike
''Counter-Strike'' (''CS'') is a series of multiplayer tactical first-person shooter video games in which teams of terrorists battle to perpetrate an act of terror (bombing, hostage-taking, assassination) while counter-terrorists try to preven ...
'' bots use a waypoint file.
Dynamic bots learn the levels and maps as they play, such as RealBot for ''Counter-Strike''. Some bots are designed using both static and dynamic features.
See also
*
Artificial intelligence in video games
In video games, artificial intelligence (AI) is used to generate responsive, adaptive or intelligent behaviors primarily in non-player characters (NPCs) similar to human-like intelligence. Artificial intelligence has been an integral part of vi ...
*
General game playing
General game playing (GGP) is the design of artificial intelligence programs to be able to play more than one game successfully. For many games like chess, computers are programmed to play these games using a specially designed algorithm, which ca ...
*
Non-player character
A non-player character (NPC), or non-playable character, is any character in a game that is not controlled by a player. The term originated in traditional tabletop role-playing games where it applies to characters controlled by the gamemaster o ...
References
{{Video game gameplay
Internet bots
Video game gameplay
Video game development
Cheating in video games