ogallagher / refraction

Asynchronous multiplayer semi-turn-based game
Other
1 stars 0 forks source link

Game nicknames #9

Closed ogallagher closed 3 years ago

ogallagher commented 3 years ago

Currently names are identified with uuids, but it would be much more user-friendly to have recognizable names. Some testing results of my custom module:

> uuidn.generate_uuid_nickname()
{
  nickname: 'by-voice-stomach-station',
  uuid: '9dd30f45-1146-4f3e-9106-8702440b58a6'
}
> uuidn.generate_uuid_nickname()
{
  nickname: 'deal-piece-source-wind',
  uuid: 'ab21e8cf-5c04-48e7-b9bf-5ce7b11ef733'
}
> uuidn.generate_uuid_nickname()
{
  nickname: 'consist-gasoline-additional-they',
  uuid: '146244ed-7453-42df-938d-f6a3cbbad802'
}
ogallagher commented 3 years ago

It appears to work. Any games that don’t yet have nicknames will have them added when submitting new turns/matches.