[[quoteright:350:[[Videogame/BioShock1 http://static.tvtropes.org/pmwiki/pub/images/raptures_crappy_security_system.jpg]]]]
[[caption-width-right:350:One would expect a [[{{Dystopia}} place like]] [[UnderwaterCity Rapture]] to have better security systems.]]

A {{minigame}} in which the character hacks a machine or software system, either to open a password-protected locked door or to access some benefit that the machine is withholding. Occasionally this will extend to MechaMooks, allowing the player to disable or reprogram them to fight on their side with a [[ConvenientColorChange change in color.]] Hacking minigames come in a wide range of forms.

Any kind of realistic hacking would be too slow, too hard, too dull, and would require knowledge that most players just don't have. Hacking minigames bridge the gap between realism and fun. We can assume the minigame is just a player-friendly representation of the character's difficulty with the hack, and that characters are indeed hacking properly, even if we don't see it.

Subtrope of HollywoodHacking. Sometimes these minigames allow for some MenuTimeLockout.



[[folder: Adventure Game ]]

* ''VideoGame/TheJourneyManProject'' has you play a form of Mastermind to disarm the bomb planted in the Mars Colony Shield Generator.
* Justified in ''VideoGame/DreamfallTheLongestJourney'' - Olivia de Marcos gives Zöe software that she routinely uses to hack. Her explanation as to this useful software is that if someone comes across her and sees her phone screen, it'll look more like she's playing a game.
* ''VideoGame/Code7'' has a interesting variation. The actions of the player are all based on actual hacking, the explanations are all based on real hacking. [[ArtisticLicenseEngineering The minigame only makes said hacking a lot faster and simpler]] so a non-hacker is able to pull it off. Until now, the player can do a Man-In-The-Middle Attack, Brute Force Attack and Network Jamming.

[[folder: Action Game ]]

* ''VideoGame/{{Iji}}'' has one, involving moving a pointer through a maze. Your "Crack" stat doesn't make hacking attempts any easier unless maxed out, but instead determines the maximum difficulty you're allowed to take on (all mandatory locks are level 1, except for one that's "as hard as you can handle", which has the side-effect of making it easier the lower your Crack stat is).
* In ''VideoGame/MySims Agents'', hacking involves moving the pointer through a scrolling maze under a time limit. And you have to stay on the lit path, which often changes when you pass through certain icons.
* ''VideoGame/EnterTheMatrix'' has one, although it's not part of the main gameplay and is instead used as a somewhat immersive way of activating various cheats and viewing concept art. Some versions of it also have normally inaccessible debug commands that require a more conventional cheat code to use, such as the only known to turn open the disc tray with a command instead of pressing the "eject" button on the console. It's also far more realistic than most minigames... while no actual hacking knowledge is required or used, you're going to be very lost if you don't have a basic understanding of command-line interfaces.
* ''VideoGame/ProjectEden'' involves spinning disks and quick reactions to hack a device.
* ''WesternAnimation/InspectorGadget'': Operation [=MadKactus=] has a VideoGame/PipeDream style one. Since you can rotate pieces and there's no penalty to changing pieces, there's no way you can fail it.
* In the ''Film/BatmanBegins'' game, you hack into systems by clicking on [[ZeroesAndOnes 1s and avoiding 0s]]. There's also an electronic-lockpick minigame, where you just need to click on the wards when they reach the grooves.
* The ''VideoGame/BatmanArkhamSeries'' games have a device that you primarily use to hack open locked doors, using the control sticks to find the correct frequency/password. Whilst not necessarily a minigame, it does require a bit of skill to use correctly. However, the UsefulNotes/WiiU rerelease of ''VideoGame/BatmanArkhamCity'' has the hacking as a full-fledged minigame, requiring the player to mend circuits with their fingers whilst avoiding obstacles.
* ''VideoGame/BatmanVengeance'' has a "connect the nodes" minigame in which you have to line up wires to get the power going and complete the circuit to open the doors. Uniquely, it takes place on a 3D cube--you have to line 'em up on one side, and then rotate the cube to complete the whole thing.
* ''VideoGame/{{The Hobbit|2003}}'' has a timing-based pick-the-locks game. Locked treasure chests contain a series of obstacles, which Bilbo bypasses by stopping them when they turn green. Stopping them on anything other than green robs him of precious time; worse yet, some treasure chests have a poisonous security system.
* ''VideoGame/FromRussiaWithLove'' has a twofold game. The first is a GottaCatchEmAll situation involving "attache cases." Having collected the cases, Bond can unlock them with a "match the symbols on the gamepad" game for extra research points.


[[folder: First Person Shooter ]]

* Both ''VideoGame/SystemShock'' games have hacking minigames. In the first game, the hacking consists of little puzzles; easy to do if the player them self is good at it or gets lucky. In the second game hacking (and modifying, and repairing) involves trying to light up a series of three connected nodes; the results are based pretty much entirely on luck and your character's skill relevant to that task.
* This is used for unlocking doors and accessing encrypted files in ''VideoGame/AlienSwarm''.
* ''VideoGame/StarTrekEliteForce II'' has several moments where your character needs to reroute power within a computer system; this is accomplished by a modified version of the old computer game ''Pipe Dream'', where the goal is to rotate "pipes" in order to connect identically-colored starting and ending points without hitting a block or crossing circuits.
* The GBA game ''VideoGame/TronTwoPointOh: Killer App'' featured a hacking minigame that had to be played numerous times to progress. Plus a few more minigames that generally fit this trope. Come to think of it, maybe [[InsideAComputerSystem the entire game]] was an example.
* ''VideoGame/DeusExHumanRevolution'' and ''VideoGame/DeusExMankindDivided'' have a hacking game where you capture assorted nodes in a path leading to the registry, before the diagnostic subroutine reaches your I/O port. You can also use single-use virus programs to get in more easily. Although it's possible to find the right codes and username/password combinations in e-mails and pocket secretaries (upon which they will helpfully pop up when you access the corresponding machine), successful hacking brings with it bonuses of EXP, money, and hacking tools, providing an incentive to hack even if you know the codes.
* ''VideoGame/BioShock'':
** ''VideoGame/{{BioShock|1}}'' lets you hack vending machines to lower their prices or hack bots, turrets, or security cameras to make them fight enemies for you. In it, you complete a very ''VideoGame/PipeDream''-esque minigame.
** In ''VideoGame/BioShock2'', hacking is timing-based, requiring you to make a moving needle land on either a green or blue spot.
** In either game, you can just [[CuttingTheKnot pay a small fee to auto hack it]]. Yes, in this universe you can bribe the machine. That's [[{{UsefulNotes/Objectivism}} Objectivism]] for you!


[[folder: Platform Game ]]

* ''Franchise/RatchetAndClank'' has different versions for different parts of the series.
* The ''Franchise/SlyCooper'' series had several different hacking minigames, more often than not for TheSmartGuy Bentley.
* ''VideoGame/Jak3Wastelander:'' Daxter gets [[DigitizedHacker jacked]] in to a security program where he has to eat all the information Pacman style to lower the defences and release a cypher key.
* ''VideoGame/{{Saira}}'' has a number of hacking minigames.
* ''VideoGame/BionicCommando Rearmed'' features wiretapping, which involves navigating relatively simple 3D block puzzles. Fail, however, and you will get swarmed by guards.


[[folder: Puzzle Game ]]

* ''VideoGame/{{Paradroid}}'' has a mini-game when you take over a new robot where you must wire up more connections than the robot you are attempting to influence.
* ''VideoGame/LANMaster'', a [[http://shiru.untergrund.net/software.shtml#nes homebrew NES game,]] is entirely this: rotate the [[VideoGame/PipeMania pipes]] to connect all the computers. Because the author released the game's source code to the public domain, any NES homebrew programmer can use its code to add a hacking minigame. It's also been ported to KDE libraries as [[http://games.kde.org/game.php?game=knetwalk KNetwalk.]]
* ''VideoGame/TheWitness'': What the game essentially consists of. Everything from doors and elevators to windmills and lasers are "hacked" and activated by solving the attached puzzle panels.
* ''VideoGame/WelcomeToTheGame'' [[InvertedTrope inverts]] this by having you ''defend'' your computer from the hackers.


[[folder: Role Playing Game ]]

* ''VideoGame/{{Fallout}}'':
** ''VideoGame/{{Fallout 3}}'' 's Mastermind-reminiscent hacking minigame has you guess a password by searching through raw data and selecting key words. Four incorrect entries get you locked out, resulting in the terminal info being {{Permanently Missable|Content}} unless someone else has the code. [[GoodBadBugs Unless you quit after three failed attempts and come back, which resets the puzzle and the counter and allows you effectively infinite attempts to hack a computer terminal.]]
** One sidequest in ''VideoGame/FalloutNewVegas'' has a glorified [[WhackAMonster Whack-a-Mole]] minigame where you have to quarantine a virus in the Brotherhood of Steel's computer network before it jumps to another set of terminals.
* ''Franchise/MassEffect'':
** ''VideoGame/MassEffect1'' lets you hack doors and containers by playing ''{{Simon}}'' in the console version and a ''VideoGame/{{Frogger}}''-like game in the PC version.
** In ''VideoGame/MassEffect2'', you instead watch through scrolling boxes of coloured text, then select the matching box to the example, with what you're searching for changing every time. Bypassing is also changed to matching "Pins" on a circuit board to bypass electronic locks. The change from the first game to the second is [[LampshadeHanging lampshaded]] in the Lair of the Shadow Broker DLC:
---> '''Shepard''': Remember when you could just slap omni-gel on everything?\\
'''Liara''': That security upgrade made a lot of people unhappy!
** ''VideoGame/MassEffect3'' does away with it entirely: all computers are accessible instantly [[spoiler: because you have a completely unrestricted AI working with you]], and bypassing doors involves an animation of Shepard putting his/her omni-tool on the door and doing the bypass without any player input, to hide the loading screen for the next area.
* In ''VideoGame/AlphaProtocol'', you have two hacking minigames - one where you have to match two sequences of hexadecimal numbers to their copies on a constantly shifting board and another one in which you have to activate maze-like circuits in proper order. That and yet another puzzle based on lockpicking.
* ''VideoGame/VampireTheMasqueradeBloodlines'' allows your character to hack computer passwords so he/she can find information that can be helpful in some missions. However, this depends on how many points you have on your Hacking skill: if the system demands more than you currently have, all you'll get is a jumbled mess of letters that won't get you anywhere. But, since ThePasswordIsAlwaysSwordfish here, hacking skills are only relevant in your first playthrough, since you can simply write down the passwords you've already cracked and use them again in your next playthrough to the same effect, even if you have zero points in Hacking.
* Both the SNES and Genesis adaptations of CyberPunk [[RolePlayingGame RPG]] ''TabletopGame/{{Shadowrun}}'' included these.
* In ''VideoGame/BarkleyShutUpAndJamGaiden'', one of the options of the vending machines you get your items from is to hack it, but you need "Science points" to do so. [[spoiler:You can't get any.]]
* An important part of the game VideoGame/FreedroidRPG (as it allows you to take over enemy bots)
* ''VideoGame/EYEDivineCybermancy'' has a skill for hacking. When you want to hack an enemy, you have several options; Hack (convert them to friendlies), Possess (take control of them directly), Steal (steal some of their energy), or Destroy. Once you pick an option, the player must overcome the enemy's defenses and counter-attacks, by buffing their own attack and defense or debuffing the enemy's defense or attacks, or simply attacking the enemy's cyber-health directly. Failing the mini-game can result in nothing happening, the player's screen being screwed up with a giant smiley face on it until they re-hack ''themselves'', or [[YourHeadAsplode player death]]
* ''VideoGame/{{Neocron}}'' has a hacking minigame that greatly resembles the one found in ''VideoGame/{{Paradroid}}''. The hacking minigame is used to open locked doors and boxes.
* In ''VideoGame/NierAutomata'', hacking takes the form of a short little BulletHell game. While it pops up in various spots of the game, it's primarily used as the main way to damage enemies as 9S, who's a Scanner-type android and therefore not as good as 2B or A2 in actually fighting with weapons.


[[folder: Simulation ]]

* ''VideoGame/{{Uplink}}'' is what you get when you turn the Hacking Minigame into the ''whole'' game.


[[folder: Stealth Based Game ]]

* In the present-day segments of ''VideoGame/AssassinsCreedIVBlackFlag'', you can walk around Abstergo and hack your colleagues computers by playing one of three different minigames depending on what floor you're on. This is also true in ''Videogame/AssassinsCreedRogue''.


[[folder: Strategy Game ]]

* ''[[VideoGame/{{X}} X3: Terran Conflict]]'' has one as part of the New Home plot. Breaking into the Terraformer CPU ship #efaa requires breaking a four-digit code, then solving a sudoku. The third part is inputting a code you put together from clues throughout the plot.
* The ancient browser game ''[[http://www.javaonthebrain.com/java/noids/ Urbanoids.]]''
* ''{{LEGO}} Spybotics: The Nightfall Incident'' is an entire game focused around this, represented by "data battles".
* ''{{VideoGame/Deadnaut}}'' gives operatives with a hacking ability to work against the creatures on board the various GhostShip locations in keeping doors unlocked and turrets on their side.


[[folder: Third Person Shooter ]]

* While it isn't strictly "hacking" ''per se'', the wiretapping minigame in ''VideoGame/CovertAction'' works on much the same principle, making the user solve a puzzle to represent a much more complicated information-gathering exploit.


[[folder: Wide Open Sandbox ]]

* One of the side missions in ''{{VideoGame/Jazzpunk}}'' involves using a pair of augmented reality goggles to grab bits of code with a frog tongue in order to gain a Wi-Fi password.
* [[VideoGame/GrandTheftAutoV Grand Theft Auto Online]] has a couple of these in some early heist missions.


[[folder: Non Video Game Examples ]]

* In one episode of ''Series/TheLibrarians2014'', the characters are unknowingly [[WinToExit trapped in a video game]], and master-thief Ezekiel is infuriated that the electronic locks don't make sense, being more amenable to Cassandra's pattern matching skills than his own talents. Once he realises they aren't ''real'' locks but a hacking minigame, it makes a lot more sense.