https://github.com/sn99/pokemon-text-game
A pokemon text based fight game written in Rust
https://github.com/sn99/pokemon-text-game
game game-development json pokemon rust text
Last synced: 9 months ago
JSON representation
A pokemon text based fight game written in Rust
- Host: GitHub
- URL: https://github.com/sn99/pokemon-text-game
- Owner: sn99
- License: mit
- Created: 2019-01-08T16:38:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-06-30T19:08:28.000Z (almost 2 years ago)
- Last Synced: 2025-04-08T13:45:25.193Z (about 1 year ago)
- Topics: game, game-development, json, pokemon, rust, text
- Language: Rust
- Homepage: https://sn99.github.io/pokemon-text-game/
- Size: 2.33 MB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# CLI based basic pokemon game
[](https://travis-ci.com/sn99/pokemon-text-game)
[](https://ci.appveyor.com/project/sn99/pokemon-text-game)
[](https://dependabot.com)
## For linux
1. Clone the [repository](https://github.com/sn99/pokemon-text-game/archive/master.zip) and extract the contents in the same file
2. Install the following packages
1. `sudo apt install pkg-config`
2. `sudo apt install libasound2-dev`
3. Use cargo build in the same dictionary to build the program and use cargo run to play the game
## For Windows
1. Clone the [repository](https://github.com/sn99/pokemon-text-game/archive/master.zip) (extract the contents) or just download the [resources](https://github.com/sn99/pokemon-text-game/tree/master/resources) file as it is (a file name resources that has both track.mp3 and pokemons.json)
2. [Download](https://github.com/sn99/pokemon-text-game/releases/download/v1.0.0/pokemon-text-game.exe) the executable
3. Put "resources" folder and "pokemon-text-game.exe" in the same folder and run the ".exe" file to play the game :)
## Building on linux for windows
1. `sudo apt install pkg-config`
2. `sudo apt install libasound2-dev`
3. `sudo apt-get install gcc-mingw-w64-x86-64 -y`
4. `rustup target add x86_64-pc-windows-gnu`
5. `cargo build --release --target=x86_64-pc-windows-gnu --verbose`
***rustc and cargo should be installed for building the game***