Chimera Rancher
Description
You have been an apprentice to a powerful sorcerer for as long as you can remember. However you dream of becoming a rancher, raising animals in your own pen.
The day your master died, you decided to quit the wizard tower, heading to the small town of TotallyNormalTown. This town is full of friendly people and a great variety of animals as well!
But do not forget, you are a sorcerer yourself. Everything went great until the day you split an animal in half and take the parts with you to build your own ranch of chimeras.
Now angry villagers will try to make you leave the town. Defeat them using your "friendly" chimeras and try to survive as long as possible.
Good luck.
How to play the game
The game plays with both WASD and the arrow keys
To catch an animal press E when in range of an animal.
To spawn a chimera with random parts press P and the chimera should spawn under your cursor.
In order to see the stats of an animal or a chimera, click left with the mouse
How to build and run
Linux, Windows, Mac
Clone the project:
git clone https://github.com/TheRealTeamFReSh/chimera-rancher
cd chimera-rancher
Run cargo run --release
inside the project's folder:
cargo run --release
Enjoy!
WASM build
Install wasm toolchain:
rustup target install wasm32-unknown-unknown
Build the wasm binary:
cargo build --release --no-default-features --target wasm32-unknown-unknown
Run bindgen on the binary:
wasm-bindgen --out-dir ./out/ --target web ./target/wasm32-unknown-unknown/release/chimera-rancher.wasm
You should have an /out
folder containing the binary and a .js
file.
Now copy the web template and assets to the /out
folder:
cp -R ./wasm-page-template/* ./out/
cp -R ./assets/ ./out/
Use a web server to deploy the app, e.g. python:
python -m http.server 8080 --directory ./out/
The last step is to visit the local website and enjoy the game: http://localhocp -R ./assets/ ./out/cp -R ./assets/ ./out/st:8080/
About us
- cdsupina
- tigleym
- hedgein
- nightlyside: French student in computer science and computer security engineering