MoveToEarn is a simple Rust-based game where the player character navigates through a grid-based maze to reach a target position while managing their energy levels.
The game starts with the player character (P
) positioned at the center of a grid. A target position (T
) is randomly generated within the grid. The player must navigate the character to the target position while conserving energy.
- move: Move the player character in a specified direction.
- fill: Fill the energy of the player character using coins.
When prompted to move, you can choose one of the following directions:
- N: North
- NE: Northeast
- E: East
- SE: Southeast
- S: South
- SW: Southwest
- W: West
- NW: Northwest
- NNW: North-northwest
Navigate the player character to the target position (T
) by moving in different directions while managing energy levels.
To play the game, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/TheEyeFloaters/MoveToEarn.git
-
Navigate to the project directory:
cd MoveToEarn
-
Compile and run the game using Rust:
cargo run
-
Follow the on-screen instructions to play the game.
Contributions to the project are welcome! If you have any ideas for improvements or new features, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.