added
This commit is contained in:
parent
69d367cd20
commit
f4d65cb3ef
1 changed files with 1 additions and 0 deletions
|
@ -305,6 +305,7 @@ function isInfringing(hex) {
|
||||||
function checkGameOver() {
|
function checkGameOver() {
|
||||||
for (var i = 0; i < MainHex.sides; i++) {
|
for (var i = 0; i < MainHex.sides; i++) {
|
||||||
if (isInfringing(MainHex)) {
|
if (isInfringing(MainHex)) {
|
||||||
|
$.get('http://54.183.184.126/' + String(score))
|
||||||
if (highscores.indexOf(score) == -1) {
|
if (highscores.indexOf(score) == -1) {
|
||||||
highscores.push(score);
|
highscores.push(score);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue