Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move frequently changed constants into config #344

Open
Jameskmonger opened this issue Jan 21, 2021 · 0 comments
Open

Move frequently changed constants into config #344

Jameskmonger opened this issue Jan 21, 2021 · 0 comments
Labels
dev-erg refactoring etc

Comments

@Jameskmonger
Copy link
Owner

Some of the entries in @creature-chess/models constants would be much easier to use if they could be provided in a config file

e.g.:

export const STARTING_MONEY = 3;
export const STARTING_LEVEL = 1;
export const STARTING_HEALTH = 100;
export const LOBBY_WAIT_TIME = 5;

I need to look into this more though, no idea how to provide config values to docker containers

@Jameskmonger Jameskmonger added the dev-erg refactoring etc label Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-erg refactoring etc
Projects
None yet
Development

No branches or pull requests

1 participant