 
 # }}}
 # Alerts {{{
-fastSuccessAlert = (title, text, time=3000) ->
+
+
+alertDiagramDone = () ->
+	title = "Diagram complete!"
+	text = "You earned <strong>" +
+		game.currDiagram().getScore() +
+		" points</strong> for this diagram."
+	time = 3000
 	if time < game.getTimeLeft()
 		swal({
 			title: title,
 			text: text,
-			type: "success",
+			type: "info",
 			html: true,
 			timer: time,
 			showConfirmButton: false,

		allowOutsideClick: false,
	})

slowWarningAlert = (title, text) ->
	swal({
		title: title,
		text: text,

	if diagram.complete
		tempAddClass "#done_button", "button_green"
		if game.allDone()
			alertGameWon()
		else
			alertDiagramDone()
		updateSidebarHard()
	else
		tempAddClass "#done_button", "button_red"
