diff --git a/flask/testapp/static/javascript/resultScreen.js b/flask/testapp/static/javascript/resultScreen.js index 820085b..7e6d432 100644 --- a/flask/testapp/static/javascript/resultScreen.js +++ b/flask/testapp/static/javascript/resultScreen.js @@ -7,32 +7,30 @@ fRect(500, 300, 400, 250, "black"); fRect(50, 600, 400, 250, "black"); fRect(500, 600, 400, 250, "black"); + + setAlp(50); if (player.choice == A){ - setAlp(50); fRect(50, 300, 400, 250, "black"); } else if (player.choice == B){ - setAlp(50); fRect(500, 300, 400, 250, "black"); } else if (player.choice == C){ - setAlp(50); fRect(50, 600, 400, 250, "black"); } else if (player.choice == D){ - setAlp(50); fRect(500, 600, 400, 250, "black"); } setAlp(100); - fText("Q.", 110, 100, 40, "white"); + fText("Q.", 90, 100, 40, "white"); - fText("A.", 100, 425, 40, "white"); - fText("B.", 550, 425, 40, "white"); - fText("C.", 100, 725, 40, "white"); - fText("D.", 550, 725, 40, "white"); + fText("A.", 90, 425, 40, "white"); + fText("B.", 540, 425, 40, "white"); + fText("C.", 90, 725, 40, "white"); + fText("D.", 540, 725, 40, "white"); - fText(question[round].question, 480, 100, 30, "white"); + fTextN(question[round].question, 480, 100, 40, 30, "white"); fText(question[round].choiceA, 275, 425, 25, "white"); fText(question[round].choiceB, 725, 425, 25, "white"); fText(question[round].choiceC, 275, 725, 25, "white"); @@ -213,14 +211,14 @@ setAlp(100); - fText("Q.", 110, 100, 40, "white"); + fText("Q.", 90, 100, 40, "white"); - fText("A.", 100, 425, 40, "white"); - fText("B.", 550, 425, 40, "white"); - fText("C.", 100, 725, 40, "white"); - fText("D.", 550, 725, 40, "white"); + fText("A.", 90, 425, 40, "white"); + fText("B.", 540, 425, 40, "white"); + fText("C.", 90, 725, 40, "white"); + fText("D.", 540, 725, 40, "white"); - fText(question[show_click_round].question, 480, 100, 30, "white"); + fTextN(question[show_click_round].question, 480, 100, 50, 30, "white"); fText(question[show_click_round].choiceA, 275, 425, 25, "white"); fText(question[show_click_round].choiceB, 725, 425, 25, "white"); fText(question[show_click_round].choiceC, 275, 725, 25, "white");