Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-05T19:20:26.000Z (8 months ago)
- Last Synced: 2024-05-05T20:29:04.204Z (8 months 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
[![Build Status](https://travis-ci.com/sn99/pokemon-text-game.svg?branch=master)](https://travis-ci.com/sn99/pokemon-text-game)
[![Build status](https://ci.appveyor.com/api/projects/status/94r186vjkirtxjak?svg=true)](https://ci.appveyor.com/project/sn99/pokemon-text-game)
[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=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***