diff --git a/README b/README index e2d8970..5f6a4a6 100644 --- a/README +++ b/README @@ -1 +1,8 @@ LOLOL + +Andrew Tribone +Sean Myers +Kristy Caster + +To play: http://koios.co/dmfd/ + diff --git a/player.dart b/player.dart index 92a77ca..5d80572 100644 --- a/player.dart +++ b/player.dart @@ -20,7 +20,7 @@ class Player { } int get money()=> _money; - bool gameOver() => life < 0; + bool gameOver() => life <= 0; String displayMoney() => "Money: $_money"; String displayLife()=> "Life: $_life/$totalLife"; //Returns false if you do not have enough money diff --git a/tfd.dart.app.js b/tfd.dart.app.js index 1e13c21..baf43bd 100644 --- a/tfd.dart.app.js +++ b/tfd.dart.app.js @@ -169018,7 +169018,7 @@ unnamedf00e98$Player$Dart.prototype.money$setter = function(newMoney){ } ; unnamedf00e98$Player$Dart.prototype.gameOver$member = function(){ - return LT$operator(this.life$getter(), 0); + return LTE$operator(this.life$getter(), 0); } ; unnamedf00e98$Player$Dart.prototype.gameOver$named = function($n, $o){