Skip to content

Commit 846459c

Browse files
Update README.md
1 parent 7d44b34 commit 846459c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@ To set the project just clone with git:
66

77
git clone https://github.com/LunguGeorgeProgramator/new-php-rpg-hero-game
88

9+
Import data base file hero_game.sql in phpmyadmin:
10+
11+
http://localhost/phpmyadmin/db_import.php
12+
13+
Change data base conections creditials with yours in php file class database.php
14+
15+
function __construct() {
16+
$this->conn = false;
17+
$this->servername = "localhost"; // your sql server name
18+
$this->username = "root"; // your sql server name
19+
$this->password = ""; // your sql server password
20+
$this->dbname = "hero_game";
21+
$this->connectDB();
22+
}
23+
24+
925
Run the game in browser and just click button "next turn".
1026

1127
How to run test:

0 commit comments

Comments
 (0)