ninoaddict / Tucil1_13522068

Breach Protocol Solver

Home Page:https://breach-protocol-solver.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cyberpunk 2077 Breach Protocol

✨ Description

Cyberpunk 2077 Breach Protocol is a hacking minigame in the video game Cyberpunk 2077. This minigame simulates the hacking of a local network's Intrusion Countermeasures Electronics (ICE) within the Cyberpunk 2077 game. The components in this game include:

  • Token – consisting of two alphanumeric characters such as E9, BD, and 55.
  • Matrix – comprising tokens that will be selected to form a sequence of tokens.
  • Sequence – a series of tokens (two or more) that need to be matched.
  • Buffer – the maximum number of tokens that can be arranged sequentially.

This program aims to solve breach protocol game using brute force algorithm that involves attempting all possible buffer combinations until the optimal one is found. The output of this program included the arrangement of tokens, the maximum achievable reward points, and the coordinates of tokens required to achieve the highest score. Additionaly, users can view the runtime and download the results.

🔍 Table of Contents

- Description
- Table of Contents
- Tech Stack
- How To Run
- Usage
- Author
- Additional Note

💻 Tech Stack

  • Typescript
  • Next.js
  • Tailwind CSS
  • Node.js
  • sweetalert2

🏃 How To Run

You will need Node.js and npm (or yarn) if you want to run this repository locally. Follow the instructions from this link to install all the requirements if you don't have them.

  • Clone this project
git clone https://github.com/ninoaddict/Tucil1_13522068
  • Install dependencies
cd <project_name>
npm install
  • Run the project
npm run dev

This project can also be accessed in this link. However, I would recommend running the project locally if you aim for faster runtime or if you have relatively large inputs, as the server has a maximum timeout of 10 seconds.

🐈‍⬛ Usage

  1. Select your input mode File Input Random Input
  2. Upload your .txt file or enter the inputs in the provided entries Upload File Fill Random Input Field
  3. If you select the file input mode, please make sure that your .txt file is in the following format
buffer_size
matrix_width matrix_height
matrix
number_of_sequences
sequences_1
sequences_1_reward
sequences_2
sequences_2_reward
…
sequences_n
sequences_n_reward
  1. Click solve to see the result Click
  2. You can download the result by clicking the download button Result

🤵 Author

  Name  : Adril Putra Merin
  NIM   : 13522068
  Email : 13522068@std.stei.itb.ac.id

📓 Additional Note

The main program files, including the brute force algorithm and backend processes, are located within the specified path.

./src/breach_protocol/app/lib

About

Breach Protocol Solver

https://breach-protocol-solver.vercel.app

License:MIT License


Languages

Language:TypeScript 96.9%Language:CSS 2.7%Language:JavaScript 0.4%