Skip to content

Quasar-Inc-Dev/Rpg-character-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

# RPG Character Manager in C

Language C

A simple console application written in C to create, view, and manage RPG character sheets. The data is saved locally in a text file.


Features

The program provides an interactive menu with the following features:

  • Create Sheets: Allows the user to create one or more character sheets by entering:
    • Name
    • Race
    • Class
    • Strength
    • Vigor (or Constitution)
    • Dexterity
    • Intelligence
    • Wisdom
  • View Sheets: Reads and displays all saved character sheets from the fichas_teste.ret file in the console.
  • Delete Sheet: Allows the user to remove a specific sheet by searching for the character's name.
  • Data Persistence: All sheets are saved to a fichas_teste.ret file so that data is not lost when the program closes.

How to Compile and Run

This project was developed in C and can be compiled using a compiler like GCC.

  1. Clone the repository:
    git clone [https://github.com/your-username/rpg-character-manager.git](https://github.com/your-username/rpg-character-manager.git)
    cd rpg-character-manager
  1. Compile the program: Use GCC (or another C compiler) to compile the Trabalho.C file:
    gcc Trabalho.C -o rpg_manager
  1. Run the program:
    • On Linux or macOS:
      ./rpg_manager
    • On Windows:
      rpg_manager.exe
  1. Usage: The program will display a main menu. Simply follow the on-screen instructions. The created sheets will be saved in the fichas_teste.ret file in the same directory.

Technologies Used

  • C Language
  • Standard Libraries: stdio.h, stdlib.h, locale.h, string.h

About

A C project to create, view, and delete RPG character sheets directly from the console.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages