 		swal({
 			title: title,
 			text: text,
-			type: "success",
+			type: "info",
 			html: true,
 			showConfirmButton: false,
 			allowOutsideClick: true,
 		})
 
-slowSuccessAlert = (title, text) ->
+alertGameWon = () ->
+	title = "You won! Congratulations!"
+	text = "You earned " +
+			game.currDiagram().getScore() + " points " +
+			"for this last diagram.<br>Your total score was <strong>" +
+			game.getScore() + " points</strong>. Thanks for playing!"
 	swal({
 		title: title,
 		text: text,


# }}}
# Alerts {{{
fastSuccessAlert = (title, text, time=3000) ->
	if time < game.getTimeLeft()
		swal({
			title: title,
			text: text,
			type: "success",
			html: true,
			timer: time,
			showConfirmButton: false,

		allowOutsideClick: false,
	})


alertGameLost = () ->
	title = "Game Over!"
	text = "Your game has ended.<br>" +
			"Your score was <strong>" + game.getScore() +
			" points</strong>." +
			"<br><br>Thanks for playing! Answers will now be displayed."
	swal({
		title: title,
		text: text,
