sn99 / pokemon-text-game

A pokemon text based fight game written in Rust

Home Page:https://sn99.github.io/pokemon-text-game/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLI based basic pokemon game

Build Status Build status Dependabot Status

For linux

  1. Clone the repository 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 (extract the contents) or just download the resources file as it is (a file name resources that has both track.mp3 and pokemons.json)
  2. Download 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

About

A pokemon text based fight game written in Rust

https://sn99.github.io/pokemon-text-game/

License:MIT License


Languages

Language:Rust 100.0%