Skip to content

cxcorp/cyberpunk2077-hacking-solver

Repository files navigation

cyberpunk-2077-hacking-solver

A web-based solver for the Cyberpunk 2077 Breach Protocol hacking minigame. Try it online.

Follow my progress on an automated code matrix reader (client-side JS only - OpenCV.js & Tesseract.js) here: https://github.com/cxcorp/cyberpunk2077-hacker-camera-proto

Development

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, install node.js.

Then, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

Testing

Any tests under __tests__ will be run when executing npm run test.

When executing npm run test:watch, the Jest CLI is invoked with the --watch option (see here).

While watch is running the following commands may be used:

Watch Usage
 › Press a to run all tests.
 › Press f to run only failed tests.
 › Press p to filter by a filename regex pattern.
 › Press t to filter by a test name regex pattern.
 › Press q to quit watch mode.
 › Press Enter to trigger a test run.

TSLint

Run TSLint for suggestions on a given file or directory, for example:

$ tslint -c tslint.json './lib/**/*.ts'

TSLint also has plugins to enable highlighting (and often automatically fixing) issues in a number of popular IDEs:

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

License

This project is licensed under the Apache 2.0 License. See LICENSE and NOTICE for details.