diff --git a/testBD/.idea/dataSources.local.xml b/testBD/.idea/dataSources.local.xml
new file mode 100644
index 0000000..6df17e9
--- /dev/null
+++ b/testBD/.idea/dataSources.local.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+ false
+
+
+
+
\ No newline at end of file
diff --git a/testBD/.idea/dataSources.xml b/testBD/.idea/dataSources.xml
new file mode 100644
index 0000000..d699e55
--- /dev/null
+++ b/testBD/.idea/dataSources.xml
@@ -0,0 +1,11 @@
+
+
+
+
+ sqlite.xerial
+ true
+ org.sqlite.JDBC
+ jdbc:sqlite:C:\wamp64\www\testBD\hyperSet.db
+
+
+
\ No newline at end of file
diff --git a/testBD/.idea/misc.xml b/testBD/.idea/misc.xml
new file mode 100644
index 0000000..28a804d
--- /dev/null
+++ b/testBD/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/testBD/.idea/modules.xml b/testBD/.idea/modules.xml
new file mode 100644
index 0000000..fd00a8b
--- /dev/null
+++ b/testBD/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/testBD/.idea/testBD.iml b/testBD/.idea/testBD.iml
new file mode 100644
index 0000000..c956989
--- /dev/null
+++ b/testBD/.idea/testBD.iml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/testBD/.idea/workspace.xml b/testBD/.idea/workspace.xml
new file mode 100644
index 0000000..f37ca68
--- /dev/null
+++ b/testBD/.idea/workspace.xml
@@ -0,0 +1,79 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1591273650865
+
+
+ 1591273650865
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/testBD/SQLiteConnection.php b/testBD/SQLiteConnection.php
new file mode 100644
index 0000000..693c7c6
--- /dev/null
+++ b/testBD/SQLiteConnection.php
@@ -0,0 +1,14 @@
+pdo == null) {
+ $this->pdo = new \PDO("sqlite:" . 'hyperSet.db');
+ }
+ return $this->pdo;
+ }
+}
\ No newline at end of file
diff --git a/testBD/SQLiteTests.php b/testBD/SQLiteTests.php
new file mode 100644
index 0000000..a3bd433
--- /dev/null
+++ b/testBD/SQLiteTests.php
@@ -0,0 +1,40 @@
+pdo = $pdo;
+ }
+
+ public function getScore(){
+ $sql = 'SELECT * FROM highScore order by score desc;';
+ $scores = [];
+ $stmt = $this->pdo->query($sql);
+
+ while ($row = $stmt->fetch(\PDO::FETCH_ASSOC)) {
+ $scores [] = [
+ 'id' => $row ['id'],
+ 'pseudo' => $row ['pseudo'],
+ 'score' => $row ['score']
+ ];
+
+ }
+
+ return $scores;
+ }
+
+ public function insert($pseudo,$score){
+ $id = null;
+ $sql = 'INSERT INTO highScore (id, pseudo, score) VALUES(:id, :pseudo,:score)';
+ $stmt = $this->pdo->prepare($sql);
+ $stmt->bindValue(':id', $id);
+ $stmt->bindValue(':pseudo', $pseudo);
+ $stmt->bindValue(':score', $score);
+ $stmt->execute();
+
+ }
+}
\ No newline at end of file
diff --git a/testBD/hyperSet.sql b/testBD/hyperSet.sql
new file mode 100644
index 0000000..62cfa18
--- /dev/null
+++ b/testBD/hyperSet.sql
@@ -0,0 +1,6 @@
+PRAGMA foreign_keys=OFF;
+BEGIN TRANSACTION;
+CREATE TABLE HighScore ( id int PRIMARY KEY AUTOINCREMENT, pseudo varchar2(50) NOT NULL, score int NOT NULL);
+INSERT INTO HighScore VALUES(2,'Jack',80);
+INSERT INTO HighScore VALUES(1,'redko',100);
+COMMIT;
diff --git a/testBD/hyperset.db b/testBD/hyperset.db
new file mode 100644
index 0000000..6e09f8f
Binary files /dev/null and b/testBD/hyperset.db differ
diff --git a/testBD/index.php b/testBD/index.php
new file mode 100644
index 0000000..b10126b
--- /dev/null
+++ b/testBD/index.php
@@ -0,0 +1,30 @@
+connect();
+if ($pdo != null)
+ echo "Connected to the SQLite database successfully!
";
+else
+ echo 'Whoops, could not connect to the SQLite database!';
+
+$test = new SQLiteTests($pdo);
+
+$scores = $test->getScore();
+
+foreach ($scores as $sco){
+ echo $sco['score'] .' '.$sco['pseudo'].'
';
+}
+
+?>
+
+insert($_GET['pseudo'],$_GET['score']);
+}
\ No newline at end of file