improve README with install steps

This commit is contained in:
csd4ni3l
2025-11-15 19:01:55 +01:00
parent 05f568a457
commit bd1df1e162

View File

@@ -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.
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`