A simple multiplayer idle clicker game built with Rust and Yew framework.
This is a basic web-based clicker game where players can increment a counter by clicking a button. It serves as a foundation for building more complex idle games.
Before you begin, ensure you have the following installed:
- Rust (latest stable version)
- Trunk (
cargo install trunk
) - A modern web browser
- Clone the repository:
git clone [your-repository-url]
cd idle
- Install dependencies:
cargo check
Running the Game
< 6B39 a id="user-content-running-the-game" class="anchor" aria-label="Permalink: Running the Game" href="#running-the-game">- Start the development server:
rustup target add wasm32-unknown-unknown
trunk serve
- Open your web browser and navigate to:
http://127.0.0.1:8080
rustup target add wasm32-unknown-unknown
Then try the build command again:
trunk build --release --public-url /idle/
- Rust - The programming language used
- Yew - Web framework for building client web apps
- Trunk - Build tool for WebAssembly applications
Contributions are welcome! Please feel free to submit a Pull Request.