damdara 0.3.0

Dragon Quest Core Module, created in Rust.
# šŸ° Damdara šŸ¦€

![Rust](https://img.shields.io/badge/made%20with-Rust-red)
![crate](https://img.shields.io/crates/v/damdara.svg)
![docs](https://docs.rs/damdara/badge.svg)
![Forks](https://img.shields.io/github/forks/retrodig/damdara)
![Stars](https://img.shields.io/github/stars/retrodig/damdara)
![License](https://img.shields.io/github/license/retrodig/damdara)

<p align="center">
  <img width="450" src="https://github.com/user-attachments/assets/d6a206a2-3f08-4e7d-8192-1266e8f803a9">
</p>

Damdara is a logic crate for retro fantasy that can be built in Rust, while fully reproducing the "Fukkatsu no Jumon"
system of the NES version of Dragon Quest,
Damdara is a logic crate for retro-fantasy, which can be built in Rust for elements such as status generation based on
the player's name, item equipping, and battle processing.

## Table of Contents

- [Features]#features
- [Installation]#installation
- [Usage]#usage
- [Additional Resources]#additional-resources
- [Contributing to Damdara]#contributing-to-Damdara
- [References]#references
- [License]#license
- [Author]#author

## Features

Bit configuration mapping table for password generation.

 Byte Index | Field Description                               | Bits (from MSB to LSB) 
------------|-------------------------------------------------|------------------------
 0          | Checksum (CRC-8)                                | [7:0]                  
 1          | Experience (lower 8 bits)                       | [7:0]                  
 2          | Pattern[2] 1 + Necklace (1) + Name[2] 6     | [7], [6], [5:0]        
 3          | Item[3] + Item[2]                               | [7:4], [3:0]           
 4          | Gold (lower 8 bits)                             | [7:0]                  
 5          | Name[0] 6 + Golem (1) + Pattern[1] 1        | [7:2], [1], [0]        
 6          | Item[7] + Item[6]                               | [7:4], [3:0]           
 7          | Pattern[0] + Dragon (1) + Name[3] 6           | [7], [6], [5:0]        
 8          | Weapon (3) + Armor (3) + Shield (2)             | [7:5], [4:2], [1:0]    
 9          | Gold (upper 8 bits)                             | [7:0]                  
 10         | Keys + Herbs                                    | [7:4], [3:0]           
 11         | Item[5] + Item[4]                               | [7:4], [3:0]           
 12         | Experience (upper 8 bits)                       | [7:0]                  
 13         | DragonScale (1) + Name[1] 6 + WarriorRing (1) | [7], [6:1], [0]        
 14         | Item[1] + Item[0]                               | [7:4], [3:0]           

## Installation

## Usage

## Additional Resources

## Contributing to Damdara

To contribute to **Damdara**, follow these steps:

1. Fork this repository.
2. Create a branch: `git checkout -b <branch_name>`.
3. Make your changes and commit them: `git commit -m '<commit_message>'`.
4. Push your changes to your branch: `git push origin <branch_name>`.
5. Create a pull request.

Alternatively, consult
the [GitHub documentation](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests) on how to create a
pull request.

## References

- [åå‰ć«ć‚ˆć‚‹ęˆé•·ēŽ‡ć‚æć‚¤ćƒ—ć®å¤‰åŒ–]https://way78.com/dq1/fc/name.html
- [DQ1ć®ć€Œćµć£ć‹ć¤ć®ć˜ć‚…ć‚‚ć‚“ć€ć®ä»•ēµ„ćæć‚’å…Øč§£čŖ¬]https://qiita.com/musemyuzu/items/eb08f7790df356434e0f?utm_source=pocket_shared
- [å¾©ę“»ć®å‘Ŗę–‡ć‚’č§£ęžć—ć¦ćæćŸć‚ˆ]https://qiita.com/yoshi389111/items/29ade2f62483e9c095d9
- [ćµć£ć‹ć¤ć®ć˜ć‚…ć‚‚ć‚“ć£ć¦ä½•ļ¼ŸåŸŗęœ¬ć®ä½æć„ę–¹ć‹ć‚‰ä»•ēµ„ćæćƒ»åŽŸē†ć¾ć§ć€å‹•ē”»äø€ęœ¬ć§å…Øć¦ć‚ć‹ć‚‹ļ¼ć€FCć€‘ć€ć‚†ć£ćć‚Šč§£čŖ¬ć€‘]https://youtu.be/a15mmjJqQKo?si=zJ2SahsbcKoeZSSP
- [ćƒ‰ćƒ©ć‚“ćƒ³ć‚Æć‚Øć‚¹ćƒˆ ę”»ē•„ćƒ»č§£ęž]https://gcgx.games/dq1/
- [ćƒ‰ćƒ©ć‚“ćƒ³ć‚Æć‚Øć‚¹ćƒˆ (FC) å¾©ę“»ć®å‘Ŗę–‡čØˆē®—ę©Ÿ]https://taotao54321.github.io/DQ1PasswordCalc/
- [äø»äŗŗå…¬ć®åå‰ćØčƒ½åŠ›ęˆé•·ć®åŸŗē¤Ž FCDQ1]https://dqff.sakura.ne.jp/dq1fc/data/lvup-name.html
- [DQ1(FCē‰ˆ)å¼·ć•åˆ¤ę–­ćƒ—ćƒ­ć‚°ćƒ©ćƒ ]https://sutton-kyouwa.com/cgi-bin/dq1.cgi

## License

This project is licensed under the MIT License. See the [LICENSE](/LICENSE) file for details.

## Author

**Daisuke Takayama**

- [@webcyou]https://twitter.com/webcyou
- [@panicdragon]https://twitter.com/panicdragon
- <https://github.com/webcyou>
- <https://github.com/webcyou-org>
- <https://github.com/panicdragon>
- <https://www.webcyou.com/>