File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 111
111
</ div >
112
112
</ div >
113
113
114
- < script src ="https://cdn.jsdelivr.net/npm/vue/dist/vue.js "> </ script >
115
- <!-- < script src="script/vue.min.js"></script> -- >
114
+ <!-- < script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> -- >
115
+ < script src ="script/vue.min.js "> </ script >
116
116
< script src ="script/teams.js "> </ script >
117
117
< script src ="script/main.js "> </ script >
118
118
</ body >
Original file line number Diff line number Diff line change @@ -370,12 +370,7 @@ var app = new Vue({
370
370
}
371
371
if ( teams . length <= 1 ) {
372
372
// No more teams left
373
- if ( teams [ 0 ] . id == "Good" ) {
374
- alert ( "You win!\nPlay again?" ) ;
375
- }
376
- else {
377
- alert ( "You loose!\nPlay again?" ) ;
378
- }
373
+ alert ( "Game is over!\nNeeded turns: " + app . turnNumber + "\nPlay again?" ) ;
379
374
location . reload ( ) ;
380
375
}
381
376
else if ( teamDead ) {
You can’t perform that action at this time.
0 commit comments