Feat: Emoji from code point #136

Merged
KevinMidboe merged 1 commits from feat/emoji-from-codepoint into master 2022-08-19 08:18:36 +00:00
KevinMidboe commented 2022-08-19 08:11:08 +00:00 (Migrated from github.com)

Instead of having a list of emojis, generate from code point.

Emoji unicode block goes from hex 0x1F300 (127744) to 0x1F498 (128512). For a random emoji we generate a random number between these values as int, convert to hex and then the emoji string from code point hex value.

Instead of having a list of emojis, generate from code point. Emoji unicode block goes from hex 0x1F300 (127744) to 0x1F498 (128512). For a random emoji we generate a random number between these values as int, convert to hex and then the emoji string from code point hex value.
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KevinMidboe/seasonedShows#136
No description provided.