Skip to content

JoyousOne/CardGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CardGames

A simple 2D card game with isometric view built with Rust and Macroquad. This project was created to explore game development concepts in Rust and gain familiarity with Macroquad for rendering and game loop management.

NOTE: The name is plural because I possibly intented to make multiple small games. Will possibly be renamed

Gif showing the current state of the game: demo

Table of content:

Installation

  1. Install Rust

  2. Clone the repo:

git clone https://github.com/JoyousOne/CardGame.git
cd rust-card-game-macroquad
  1. Dependencies: Will be automatically installed when running cargo. To consult the dependencies, see Cargo.toml.

Usage

  1. Build & Run:
cargo run
  1. Gameplay: Available soon.

  2. Configuration: Available soon.

Project Structure

I used the file-tree-generator extension to make the following structure.

📦src
 ┣ 📂game
 ┃ ┣ 📜card.rs
 ┃ ┣ 📜deck.rs
 ┃ ┣ 📜effect.rs
 ┃ ┣ 📜hand.rs
 ┃ ┣ 📜isometric_manipulation.rs
 ┃ ┣ 📜keymapping.rs
 ┃ ┣ 📜life.rs
 ┃ ┣ 📜mod.rs
 ┃ ┣ 📜player.rs
 ┃ ┗ 📜ui.rs
 ┗ 📜main.rs
  • main.rs: Entry point. Initializes the game loop using Macroquad.
  • keymapping.rs: Input handling.
  • ui.rs: Show general ui elements (will possibly be renamed).
  • TO COMPLETE

Source for the assets in the assets folder:

Tileset: https://scrabling.itch.io/pixel-isometric-tiles

About

A simple 2D card game with isometric view built with Rust and Macroquad. This project was created to explore game development concepts in Rust and gain familiarity with Macroquad for rendering and game loop management.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages