🧝Roguelike Multiplayer Game🧙♂️ written on Rust and C++
In the game you can:
- fight monsters
- team up and play together with your friends
- pass an infinite number of levels
- use a huge number of weapons and spells: swords, health potions, fireballs and more
- save the game and load saving
- see players rating
The game starts with entering name:
Multiplayer: * Blue entity is a player from another computer
- Make sure you have the rust compiler installed
cargo --version
if you do not have a compiler, download it
* If it does not work after this step, try this:
export PATH="~/.cargo/bin"
export PATH="~/.cargo/env"
- Enter:
cargo run
from the directory where the Cargo.toml
file is
- Make sure you have the rust compiler installed
rustc --version
if you do not have a compiler, download it
- Download CMake if you don't have it
To check enter:
cmake --version
- From the
src/
directory:
cd server/server
mkdir build
cd build
cmake ..
make
./server
- Change url address in
main.rs
on "ws://127.0.0.1:6881":
// initialize game state
let mut gs = State{
ecs : World::new(),
game_client : ClientHandler::new(Url::parse("ws://127.0.0.1:6881").expect("Address error")),
player_name : String::new(),
enemies : Vec::<String>::new(),
};
- Enter:
cargo run
from the directory where the Cargo.toml
file is
Now experiment with client and server! 🧑🔬
Licensed under:
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)