Full-stack app: HTML/CSS/JS frontend + Python (Flask) backend with a simple ML-like recommender that suggests games based on your CPU, GPU, and RAM.
- Create and activate a virtual environment (optional but recommended):
- Windows PowerShell:
py -3 -m venv .venv
.\.venv\Scripts\Activate.ps1- Install dependencies:
pip install -r requirements.txt- Run the server:
python app.py- Open the app in your browser:
- Go to
http://127.0.0.1:5000/
Enter your CPU, GPU, and RAM. You can provide either:
- Numeric performance scores for CPU/GPU (e.g., PassMark-like scores) and RAM in GB, or
- Common model names (e.g., "i5-8400", "GTX 1060", "Ryzen 5 3600", "RTX 3060"). The app maps several common models to approximate scores. If unmapped, it extracts numbers when possible.
- Backend: Flask, pandas, numpy, scikit-learn (for future similarity metrics)
- Frontend: HTML, CSS, Vanilla JS
.
├─ app.py # Flask app entrypoint
├─ recommender.py # Hardware parsing + recommendation logic
├─ data\games.csv # Sample game dataset with min/rec specs
├─ frontend\ # Static frontend served by Flask
│ ├─ index.html
│ ├─ styles.css
│ └─ script.js
├─ requirements.txt
└─ README.md
- The dataset is illustrative. Extend
data/games.csvwith more titles/specs to improve results. - The recommendation ranks games where your hardware meets minimum requirements, and scores higher when your specs are closer to or above recommended specs.