Joy-of-Coding / Joy-of-Coding/ReactJam_2025_Spring

Write the game specifications

Open
#18 0 comments 0 reactions 1 assignee Claimed by @Walter88053 View on GitHub
documentation MVP
Dominant language
JavaScript
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Needs game specs. ---Walter$

We can start with 4 players.
#1. The Buyer. Ideally, the Buyer's goal is to get the car below the list price which includes the markup. This can be done if the Salesperson and the Sales Manager are willing to forego the markup if they can make more money selling spiffs to the Buyer. If the Buyer can buy the car for more than 1% below the list price, Buyer wins, otherwise play continues while the parties make points.
#2. The Salesperson. The Salesperson wins when the car is sold at least 1% above markup. This does not include spiffs. Spiffs can have a point value. Ten points can be awarded for a 5 year warranty, 10 points for a service plan, 2 points for floor mats, 3 points for roof racks, etc. that can be specified later. The Buyer gets these points for not buying spiffs so that the cost doesn't exceed the list price plus markup. The Salesperson loses 1/2% when the Buyer walks out without buying.
#3. The Sales Manager. The Sales Manager gets bonuses for keeping the inventory "young" by prioritizing the sale of old cars or cars that are not desirable because of color or included option packages. The Sales Manager gets 10 points for cars that have been in inventory for less than 2 weeks, 8 for less than 1 month, 4 for less than 2 months and -5 points for cars over 3 months. When a car is sold it will have a point value based on the time that it was in inventory. A point can be a percentage of the total inventory value at the time of a car's sale.
#4. The Finance Manager. The Finance Manager wants to sell spiffs that the Salesperson couldn't talk the Buyer into buying and get the points as the Salesperson would have. But the Finance Manager is really focused on selling a loan at the highest possible interest rate and gets 2 points for a loan under 10%, 4 points for a loan 10 to 15%, 8 points for a loan 15% to 20%, 10 points for a loan 20% to 23% and 15 points for a loan over 23%.

We can start with 3 cars.
Car#1. This is the car that the Buyer wants to buy. If the Buyer buys the car for more than 1% below the list price, Buyer wins, otherwise points are tabulated as specified above.
Car#2. This is the car that the Salesperson wants to sell. The Salesperson wins when the car is sold at least 1% above markup,
otherwise points are tabulated as specified above.
Car#3. This is the car that the Sales Manager wants the sales force to prioritizing selling. The Sales Manager gets points that are tabulated as specified above.

It is important to note that under these conditions multiple players can be winners and multiple players can be losers.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.