Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theoddysey/person-of-interest-game
A CLI game 🎮from the Hit Series Person Of Interest 🎯
https://github.com/theoddysey/person-of-interest-game
cli interactive-fiction nodejs terminal-game
Last synced: 8 days ago
JSON representation
A CLI game 🎮from the Hit Series Person Of Interest 🎯
- Host: GitHub
- URL: https://github.com/theoddysey/person-of-interest-game
- Owner: TheODDYSEY
- License: mit
- Created: 2024-06-25T19:56:47.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-08-16T10:49:12.000Z (6 months ago)
- Last Synced: 2024-12-04T04:18:36.857Z (2 months ago)
- Topics: cli, interactive-fiction, nodejs, terminal-game
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/person-of-interest-game
- Size: 3.59 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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.
![Person of Interest](./poi.jpg)
## 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](#installation)
- [Usage](#usage)
- [Character Missions](#character-missions)
- [Game Flow](#game-flow)
- [License](#license)
- [Acknowledgments](#acknowledgments)## Installation
To play "Person of Interest: The Machine's Directive," you can install it directly from npm. Follow these steps to get started:
1. **Install the Game**:
```bash
npm install -g person-of-interest-game
```2. **Run the Game**:
```bash
poi-game
```## Usage
When you start the game, you will be prompted to:
1. **Enter Your Name**: Provide your name to personalize the experience.
2. **Choose a Character**: Select one of the four characters:
- John Reese
- Harold Finch
- Sameen Shaw
- Root3. **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.
4. **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
1. **Investigate a Lead**: Decide how to handle a dangerous lead.
2. **Face an Adversary**: Choose a strategy when confronted with a known adversary.
3. **Uncover a Conspiracy**: Determine your next move upon discovering a conspiracy.
4. **Rescue a Witness**: Plan the rescue of a key witness.### Harold Finch
1. **Protect the Machine**: Secure the Machine from discovery.
2. **Ethical Dilemmas**: Address questions about the Machine’s use.
3. **Cyber Attack**: Handle a cyber attack on your systems.
4. **Recruit an Ally**: Decide how to bring a new ally into your team.### Sameen Shaw
1. **Infiltrate an Organization**: Choose how to approach infiltrating a criminal organization.
2. **Handle Personal Issues**: Deal with personal issues affecting your mission.
3. **Track a Missing Person**: Develop a plan to find a missing person.
4. **Make a Tough Decision**: Make critical decisions during a high-stakes mission.### Root
1. **Extract Information**: Decide how to obtain vital data from a secured system.
2. **Enhance the Machine**: Plan to enhance the Machine’s functionality.
3. **Sabotage Rival’s Operation**: Choose how to disrupt a rival’s plans.
4. **Protect the Machine**: Develop a strategy to safeguard the Machine from threats.## Game Flow
1. **Introduction**: The game introduces you to the plot and objectives.
2. **Name Input**: You provide your name.
3. **Character Selection**: Choose your character.
4. **Mission Execution**: Complete missions by making decisions.
5. **Progress Tracking**: Monitor your progress through a progress bar.
6. **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:
![Game Screenshot](./gameplay.png)
## License
This project is licensed under the MIT License - see the [LICENSE](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`, and `cli-progress`.