CLI based basic pokemon game
For linux
- Clone the repository and extract the contents in the same file
- Install the following packages
sudo apt install pkg-config
sudo apt install libasound2-dev
- Use cargo build in the same dictionary to build the program and use cargo run to play the game
For Windows
- Clone the repository (extract the contents) or just download the resources file as it is (a file name resources that has both track.mp3 and pokemons.json)
- Download the executable
- 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
sudo apt install pkg-config
sudo apt install libasound2-dev
sudo apt-get install gcc-mingw-w64-x86-64 -y
rustup target add x86_64-pc-windows-gnu
cargo build --release --target=x86_64-pc-windows-gnu --verbose
rustc and cargo should be installed for building the game