32 lines
1.1 KiB
Markdown
32 lines
1.1 KiB
Markdown
# Last Days of Rome
|
|
|
|
This is a simple web-based game where you play as a citizen in the failing Roman Empire. The emperor is trying to burn the city to the ground, and you must escape before it's too late.
|
|
|
|
## How to Play
|
|
|
|
The goal of the game is to escape the city by reaching a **Relocation** score of 10. You lose if your **Flames** or **Desolation** score reaches 10.
|
|
|
|
Each turn, you roll the dice to see what happens in the city. The events will affect your scores.
|
|
|
|
You can also try to assassinate the emperor. This is a risky move, but if you succeed, you win the game (though you die a martyr).
|
|
|
|
## Technical Details
|
|
|
|
This project is built using:
|
|
|
|
* **Frontend:** HTML, CSS, JavaScript
|
|
* **Backend:** PHP
|
|
|
|
## How to Run Locally
|
|
|
|
To run this project locally, you need a PHP server. You can use a local development environment like XAMPP or MAMP, or you can use the built-in PHP server.
|
|
|
|
1. Clone this repository.
|
|
2. Start a PHP server in the project directory. For example, you can run the following command:
|
|
|
|
```bash
|
|
php -S localhost:8000
|
|
```
|
|
|
|
3. Open your web browser and go to `http://localhost:8000`.
|