FAForever / FAForever/gw-backend

Buy & use reinforcements

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
missing feature
Dominant language
Java
Stars
10
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Characters earn money and can spend it on reinforcements

New entities:
- [x] Add reinforcement entity (faction, unit, cost)
- [x] Add credit journal entry entity(contains all income and expenses)
- [x] Add unit transactions entity (contains all buy&use transactions)

New API route:
- [x] Get the current units in stock (via elide)
- [ ] Select the units for the next battle

New validation:
- [ ] Add validation: you can't buy more units than you have current credits
- [ ] Add validation: you can't send more units than you have in stock

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.