Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 867 Bytes

File metadata and controls

53 lines (35 loc) · 867 Bytes

Game Icon

LivingRPS

AI-powered Rock-Paper-Scissors simulation — each entity is a DQN agent, hunting its prey and evading its predator. Game Preview

🚀 Requirements

  • Python 3.9+
  • Dependencies from requirements.txt

Install dependencies:

pip install -r requirements.txt

🕹️ Running the Simulation

Quick Start (Windows)

Double-click run.bat to:

  • Check for Python
  • Install dependencies (if needed)
  • Train the model (if weights are missing)
  • Launch the game

Manual Launch

python main.py

🧠 Training the Model (Optional)

A pre-trained model is included at models/rps_agent.pth.

To train a new model from scratch:

python train.py