person-of-interest-game
v1.0.5
Published
An immersive CLI game inspired by the TV series Person of Interest.
Downloads
4
Readme
Person of Interest: The Machine's Directive
Welcome to "Person of Interest: The Machine's Directive," an immersive CLI game inspired by the TV series Person of Interest. In this game, you'll navigate through a series of missions as a member of a covert team, making critical decisions that shape the fate of New York City. Your choices will influence the outcome of each mission and ultimately determine your success in the game.
Features
- Character Choices: Play as one of four characters from the series, each with their unique missions.
- Mission-Based Gameplay: Complete a series of missions, each with different scenarios and choices.
- Interactive Decision-Making: Make critical decisions that impact the game's progression.
- Progress Tracking: Visualize your progress with a dynamic progress bar.
- Game Restart: Restart the game if you make incorrect decisions.
Table of Contents
Installation
To play "Person of Interest: The Machine's Directive," you can install it directly from npm. Follow these steps to get started:
Install the Game:
npm install -g person-of-interest-game
Run the Game:
poi-game
Usage
When you start the game, you will be prompted to:
Enter Your Name: Provide your name to personalize the experience.
Choose a Character: Select one of the four characters:
- John Reese
- Harold Finch
- Sameen Shaw
- Root
Complete Missions: Participate in missions specific to the chosen character. Each mission presents a scenario with multiple choices. Your goal is to make the right decisions to complete the mission successfully.
Track Progress: Your progress will be displayed as you complete each mission. If you fail a mission, the game will restart.
Character Missions
Each character has a unique set of missions. Here’s a brief overview:
John Reese
- Investigate a Lead: Decide how to handle a dangerous lead.
- Face an Adversary: Choose a strategy when confronted with a known adversary.
- Uncover a Conspiracy: Determine your next move upon discovering a conspiracy.
- Rescue a Witness: Plan the rescue of a key witness.
Harold Finch
- Protect the Machine: Secure the Machine from discovery.
- Ethical Dilemmas: Address questions about the Machine’s use.
- Cyber Attack: Handle a cyber attack on your systems.
- Recruit an Ally: Decide how to bring a new ally into your team.
Sameen Shaw
- Infiltrate an Organization: Choose how to approach infiltrating a criminal organization.
- Handle Personal Issues: Deal with personal issues affecting your mission.
- Track a Missing Person: Develop a plan to find a missing person.
- Make a Tough Decision: Make critical decisions during a high-stakes mission.
Root
- Extract Information: Decide how to obtain vital data from a secured system.
- Enhance the Machine: Plan to enhance the Machine’s functionality.
- Sabotage Rival’s Operation: Choose how to disrupt a rival’s plans.
- Protect the Machine: Develop a strategy to safeguard the Machine from threats.
Game Flow
- Introduction: The game introduces you to the plot and objectives.
- Name Input: You provide your name.
- Character Selection: Choose your character.
- Mission Execution: Complete missions by making decisions.
- Progress Tracking: Monitor your progress through a progress bar.
- Completion or Restart: Finish the game if you succeed, or restart if you fail.
Preview
Here’s a sneak peek at the game in action:
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Inspired by the TV series Person of Interest.
- Utilizes various Node.js libraries, including
chalk
,inquirer
,gradient-string
,chalk-animation
,figlet
,nanospinner
, andcli-progress
.