Welcome to the Lost Cities Game, featuring a cutting-edge AI opponent.
This AI is powered by advanced Reinforcement Learning (PPO) with a bespoke reward function, designed to elevate your gaming experience.
Currently it sucks at the game. The AI is still in training. Will update the README when it gets better.
-
Backend Repository Setup
Begin by cloning the backend repository from GitHub:
Lost Cities RL Backend -
Virtual Environment & Dependencies
Set up a virtual environment, activate it, and install the necessary dependencies:python -m venv venv source venv/bin/activate # On Windows: . venv\Scripts\activate pip install -r requirements.txt
-
Initiate the Backend Server
Fire up the backend server with the command:uvicorn app.main:app --reload --port 8080
-
Frontend Repository Setup
Clone the frontend repository from GitHub:
Lost Cities RL Frontend -
Frontend Dependencies Installation
Navigate to the frontend directory and install all dependencies:yarn install
-
Launch the Frontend Server
Start the frontend server using:yarn dev
-
Experience the Game
Dive into the game by visiting:
http://localhost:3000/