Skip to content

[FEAT]: Add name beast functionality #8

@coxmars

Description

@coxmars

Issue

Create Method to Name Beast

Description

We need to implement a method that allows players to assign custom names to their beasts. This functionality will enable players to personalize their beasts and create a stronger connection with their game entities.

Explanation

Currently there's no functionality for players to name their beasts. This method will provide the ability to set custom names while ensuring proper validation and constraints are in place.

Technical Spike Goals:

  • Create name_beast method with proper input validation
  • Implement name length and character restrictions
  • Create name update/change functionality
  • Add proper error handling for invalid names
  • Implement comprehensive tests for naming scenarios and edge cases

Notes

  • Take into account the datatypes like felt252/bytearray, if you use felt252 validate the size parameter before a write operation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions