Skip to content

Check if game is official #129

@drpaneas

Description

@drpaneas

Roms can be of many things. For example:

  • Beta
  • VirtualConsole
    *Unlisted
  • Samle
  • Promo
  • Demo
  • Movie
  • Collection
  • Bundle (1+1, etc)
  • Hack

Make sure there is a function/method that can check that. For example:

if isOfficial(rom) {
  // do something
}

Acceptance Criteria

  • Do a little research a gather some strings signalling a non-official release game
  • Make sure the search is not case sensitive
  • Make the code available into internal/filters pkg
  • Write a unit-test
  • Make sure there are testable examples
  • For logging use https://github.com/Sirupsen/logrus

Hints

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions