Can we simulate macroeconomic factors using microeconomy of individual ventures?
If AI is too smart now, can it do this?
https://github.com/ai-economy-simulator/ecosim-server
https://github.com/ai-economy-simulator/ecosim-ai
-
Fork and Clone the repository locally.
-
Install
Node.js v20
, preferable using Node Version Manager (nvm
). After installingnvm
, you can runnvm install --lts
. Executenvm use --lts
to switch to the correct version. -
Run
npm i
to install all the required dependencies. -
Run
npm run dev
. Once the server starts, open localhost with the correct port in the browser. Most probably, it would behttp://localhost:3000
. -
To link the client to the server create a
.env.local
file in the root directly with the environment variables in the below format.
NEXT_PUBLIC_GAMESERVER_URL='ws://localhost:2567'
-
Raise PRs only to the
main
branch. -
There is a pre-commit hook for
prettier
. Please honor it, and report a bug if it does not execute automatically. -
Resolve all merge conflicts unless states otherwise.