From bd1df1e1623403ab07d35149160f0748c47b5937 Mon Sep 17 00:00:00 2001 From: csd4ni3l Date: Sat, 15 Nov 2025 19:01:55 +0100 Subject: [PATCH] improve README with install steps --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6177693..732770e 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,20 @@ Fleet Commander is like Space Invaders but you are the enemy instead of the play It uses AI (Reinforcement Learning) for the Player, and you, the Enemy has to defeat it. -You can train yourself, or use the default model which comes with the game. \ No newline at end of file +You can train yourself, or use the default model which comes with the game. + +# Install steps: + +## For uv +- `uv sync` +- `uv pip install torch --index-url https://download.pytorch.org/whl/cpu` +- `uv pip install stable_baselines3` +- `uv run run.py` + +## For pip +- `python3 -m venv .venv` +- `source .venv/bin/activate` +- `pip3 install -r requirements.txt` +- `pip3 install torch --index-url https://download.pytorch.org/whl/cpu` +- `pip3 install stable_baselines3` +- `python3 run.py` \ No newline at end of file