AI prompts
base on An app to play Pokerogue.net in an app window. Wow! # PokeRogue App
This is an app to play Pokerogue.net in an app window. Wow!
The app is playable in both online and offline mode. Online mode is the default, but you can switch to offline mode at any time by downloading the newest game files (file -> download) and then switching to offline (settings -> offline). If you're on the Steam Deck and want to play in Gaming mode, add the "pokerogue" file (with no file extension) as a non-steam game and add `--no-sandbox` as a launch option and it'll work just fine (with touch screen required for the top menu stuff).
If offline file extraction seem to be taking a *very* long time (such as more than a minute), there's probably an antivirus such as Windows Defender slowing it down by scanning every small file individually; add an exception or disable it temporarily and see if that helps. A not responding message is normal on Windows.
For more information about the Android version, go here: https://github.com/Admiral-Billy/PokeRogue-App-Android
## Features
There's a variety of settings you can tweak to your choosing as well. The only thing to mention in particular is the modified hotkeys setting; there's a `keymap.json` in the resources folder that you can modify, and that'll affect what your hotkeys are (in the format of "Old" : "New", with the ability to bind multiple keys to the same other key if desired). It's not a perfect hotkey remapping since the hold behavior is off, but it should work for most purposes. A list of valid keys can be [found here](https://www.electronjs.org/docs/latest/api/accelerator)
All cookie-related information can be found in `%AppData%/Pokerogue`; go there and delete the whole thing if you want the game to forget your login/settings/offline saves/etc.
The menu at the top has a list of utilities as well as their shortcuts, but they're also included here for your convenience:
- Alt: Opens the menu bar that has the utilities tab, containing all of the below.
- Ctrl+R or F5: Soft resets the game, as if you relaunched it
- F11: Fullscreens the game
- F12: Developer console
- Ctrl+T: pkmn.help website (useful for being a type calculator and having a pokedex to access bulbapedia)
- Ctrl+Y: Type chart
- Ctrl+H: Horizontal type chart (better for smaller screens)
- Ctrl+B: Team builder (useful for quickly seeing your team's resistances to various types, or planning)
- Ctrl+W: PokeRogue wiki
- Ctrl+D: Ydarissep's PokeRogue PokeDex (aka the RogueDex, huge credits to them for it existing!)
- Ctrl+S: Smogon (to get a quick reference on what movesets might be good for a Pokemon, although of course take it with a grain of salt; PokeRogue is a different beast).
## Build instructions
- Clone this repository with git or download the source code as zip
- Install [NodeJS](https://nodejs.org/en)
- Open a command prompt to the directory you stick this repo in
- Install dependencies: `npm install`
- Run from command prompt with `npm start` or build the full app with `npm run build:platform` (where platform is "win", "mac", or "linux").
- Each version has to be built from its own OS for it to work properly when zipped up (thanks Electron!)
Now you're ready to play! The app is found in `dist/platform-unpacked/PokeRogue.exe` if you built it.
## Install instructions
### Windows/Mac/Non-Arch Linux
Simply extract the game's zip somewhere and run the executable. Windows has an installer that can be used as well, although be careful where you install it to; installing it to somewhere like Program Files may create permission issues that require running as admin to resolve.
### 🐧 Arch
For Arch Linux users, the application is available as an [AUR package](https://aur.archlinux.org/packages/pokerogue-app-bin). You can install it using an AUR helper like `yay`.
#### Using `yay`:
```sh
yay -S pokerogue-app-bin
```
Once installed, you can launch the application from your application menu or by running pokerogue from the terminal.
### Nix
For NixOs users, the application is available as a flake, just add this in your flake.nix and rebuild the system:
```nix
inputs.pokerogue-app.url = "github:Admiral-Billy/Pokerogue-App";
```
Then add the package in your config anywhere you pass 'pokerogue-app', for example in home-manager:
```nix
{ inputs, pkgs, pokerogue-app, ... }: {
imports = [
];
home.packages = with pkgs; [
pokerogue-app.packages.x86_64-linux.pokerogue-app
];
#...config
}
```
### Android
Download the APK to your phone and then run it with a file manager, and this will install the app.
", Assign "at most 3 tags" to the expected json: {"id":"9988","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"