mirror of
https://github.com/csd4ni3l/fleet-commander.git
synced 2026-01-01 04:23:47 +01:00
969 B
969 B
Fleet Commander is like Space Invaders but you are the enemy instead of the player.
It uses AI (Reinforcement Learning) for the Player, and you, the Enemy has to defeat it.
I know the game is too easy and is too simple, but please understand that doing RL isnt the easiest thing ever. I also did this so late so yeah.
You can train yourself, or use the default model(10 million timesteps) which comes with the game.
Install steps:
For uv
uv syncuv pip install torch --index-url https://download.pytorch.org/whl/cpuuv pip install stable_baselines3uv run run.py
For pip
python3 -m venv .venvsource .venv/bin/activatepip3 install -r requirements.txtpip3 install torch --index-url https://download.pytorch.org/whl/cpupip3 install stable_baselines3python3 run.py
Disclaimer
AI assistance was used in this project, since i never did any RL work before. But every instance of AI code was heavily modified by me.