Skip to content

Smart game discount rules based on other games you already own

Notifications You must be signed in to change notification settings

Brunomachadob/smart-game-discounts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Studio fidelity program

Smart game discount rules based on other games you already own.

By default, only one discount rule will be applied, being the one with higher discount rate, but discount can be staked upon configuration.

Discount Rules

Same studio discount

  • For each game you have in your library from that same studio, you get X% discount, up to Y%.

Franchise discounts

  • If you have the previous game from that franchise in your library, you get X% discount for the sequel
  • If you have any other game from this same franchise in your library, you get X% per game, up to Y%

Todo

  • Same studio rule
  • Same franchise rule
  • Sequel rule
  • Discount detail on Store game
  • Stack discounts
  • Rule CRUD
  • Game CRUD

Development

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

About

Smart game discount rules based on other games you already own

Resources

Stars

Watchers

Forks