Skip to content

TheEyeFloaters/MoveToEarn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MoveToEarn

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.

How to Play

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.

Commands

  • move: Move the player character in a specified direction.
  • fill: Fill the energy of the player character using coins.

Directions

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

Objective

Navigate the player character to the target position (T) by moving in different directions while managing energy levels.

Getting Started

To play the game, follow these steps:

  1. Clone the repository to your local machine:

    git clone https://github.com/TheEyeFloaters/MoveToEarn.git
  2. Navigate to the project directory:

    cd MoveToEarn
  3. Compile and run the game using Rust:

    cargo run
  4. Follow the on-screen instructions to play the game.

Contributing

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages