diff --git a/flask/server.py b/flask/server.py index 254aaf5..014d1c6 100644 --- a/flask/server.py +++ b/flask/server.py @@ -2,4 +2,3 @@ if __name__ == "__main__": app.run(host="0.0.0.0", port=5002, debug=True) - diff --git a/flask/testapp/static/javascript/beautyVote.js b/flask/testapp/static/javascript/beautyVote.js index 87a2bfe..96dcb8f 100644 --- a/flask/testapp/static/javascript/beautyVote.js +++ b/flask/testapp/static/javascript/beautyVote.js @@ -338,7 +338,7 @@ var xhr = new XMLHttpRequest(); var result_xhr= new XMLHttpRequest(); var round = 0; //変更 -var MAX_ROUND = 3; +var MAX_ROUND = 10; var CHOICE_NUMBER = 5; var max_player = 0; // 最大のplayer数(変更不要) var current_player = 0; @@ -382,7 +382,7 @@ var player = new Player(); - +/* var questions = ["「にっこり」の対義語は?", "もっとも年齢が高いのは?", "中国語で「勉強」意味は?", @@ -403,8 +403,8 @@ "Which is named after a person?", "What kind of shark is a 'Jinbei' in English?", "Which creature does not have a heart?"]; +*/ -/* var questions = ["好きな季節は?", "千葉県の産出額が全国1位でない農林水産物は?", "中口先生の出身都道府県は?", @@ -412,18 +412,18 @@ "フロンティア医工学センターの設立年は?", "最も魅力があると思う都道府県は?", "中口先生の好きな食べ物は?", - "現在千葉大学で2番目に募集人員が多い学部は?", + "現在、千葉大学で2番目に募集人員が多い学部は?", "大学生活で最も楽しかった時期は?", "中口先生の好きな芸能人は?", "What is your favorite season?", - "Which agriculture product from Chiba isn't largest by production value?", + "Which agriculture product from Chiba\n isn't largest by production value?", "What is Professor Nakaguchi's home prefecture?", "What is your favorite programming language?", - "What is the founding year of the Frontier Medical Engineering Center?", + "When is the Frontier Medical\n Engineering Center established?", "Which prefecture do you find the most attractive?", "What is Professor Nakaguchi's favorite food?", - "What is the second largest faculty in terms of student recruitment at Chiba University?", - "What was the most enjoyable period of your university life?", + "What is the second largest faculty in terms\n of student recruitment at Chiba University?", + "What was the most enjoyable period \nof your university life?", "Who is Professor Nakaguchi's favorite comedian?"]; var choices = [["春", "夏", "秋", "冬"], @@ -443,11 +443,11 @@ ["2003", "2008", "1985", "1995"], ["Chiba Prefecture", "Kanagawa Prefecture", "Saitama Prefecture", "Ibaraki Prefecture"], ["Takoyaki", "Jingisukan", "Gyoza", "Unadon"], - ["Faculty of Engineering", "Faculty of Education", "Faculty of Law and Economics", "Faculty of Science"], - ["Undergraduate 1st,2nd year", "Undergraduate 3rd,4th year", "Master's course", "Doctoral course"], + ["Engineering", "Education", "Law Politics Economics", "Science"], + ["Freshman and Sophomore", "Junior and Senior", "Master's course", "Doctoral course"], ["Yamada Rui 53rd", "Sugi-chan", "Masahiro Hamada", "Nakayama Kin'nikun"]]; -*/ +/* var choices = [["がっくり", "げっそり", "むっつり", "しっとり"], ["ドナルド・トランプ", "ボリス・ジョンソン", "ウラジーミル・プーチン", "アンゲラ・メルケル"], @@ -470,7 +470,7 @@ ["Elephant", "Whale", "Dinosaur", "Mega"], ["Crab", "Sea cucumber", "Octopus", "Scallop"]]; - +*/ var realAnswer = [C,A,B,B,C,C,C,C,B,B]; diff --git a/flask/testapp/static/javascript/resultScreen.js b/flask/testapp/static/javascript/resultScreen.js index 07df5e1..3023f30 100644 --- a/flask/testapp/static/javascript/resultScreen.js +++ b/flask/testapp/static/javascript/resultScreen.js @@ -25,14 +25,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.", 95, 425, 40, "white"); + fText("B.", 545, 425, 40, "white"); + fText("C.", 95, 725, 40, "white"); + fText("D.", 545, 725, 40, "white"); - fText(question[round].question, 480, 100, 30, "white"); + fTextN(question[round].question, 480, 100, 50, 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"); @@ -210,12 +210,12 @@ 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.", 95, 425, 40, "white"); + fText("B.", 545, 425, 40, "white"); + fText("C.", 95, 725, 40, "white"); + fText("D.", 545, 725, 40, "white"); fText(question[show_click_round].question, 480, 100, 30, "white"); fText(question[show_click_round].choiceA, 275, 425, 25, "white"); diff --git a/flask/testapp/templates/testapp/inputName.html b/flask/testapp/templates/testapp/inputName.html index fde80aa..31c895e 100644 --- a/flask/testapp/templates/testapp/inputName.html +++ b/flask/testapp/templates/testapp/inputName.html @@ -29,6 +29,13 @@ height: 100%; } + .caution { + color: rgb(187, 13, 13); + font-weight: bold; + font-size: 22px; + text-decoration-thickness: 10px; + } + #rule{ border: solid 2px black; width:fit-content + 50px; @@ -87,17 +94,18 @@
-

ルール説明

+

ルール説明

・ 4択問題に答えて1番目に多数派なら4pt, 2番目に多数派なら3Pt,

3番目に多数派なら2Pt, 4番目に多数派なら1Ptを獲得

・最終的に獲得ポイントが高ければ勝利

・各問題の制限時間は30秒

・途中退出,途中参加は不可

+

ブラウザの戻る、更新ボタンを押さないでください!

-

Rules Explanation

+

Rules Explanation

- Answer the multiple-choice questions and earn points based on your ranking:

-

美人投票とは?

+

美人投票とは?

有名な経済学者のケインズは、玄人筋の行う投資は投票者が100枚の写真の中から最も容貌の美しい6枚を選び、 その選択が投票者全体の平均的な好みに最も近かった者に賞品が与えられるという新聞投票に見立てることができるとした。

各投票者は、自身が最も美しいと思う写真を選ぶのではなく、他の投票者の好みに最もよく合うと思う写真を選択しなければならないことを意味する。

@@ -120,7 +129,7 @@
-

What is the Beauty Vote?

+

What is the Beauty Vote?

The famous economist Keynes stated that professional investment can be likened to a newspaper vote where voters choose the 6 most beautiful faces from 100 photos, and the prize is given to the person whose choices are closest to the average taste of all voters.

It means that each voter must not choose the photo they think is the most beautiful, but the photo they think best matches the taste of other voters.

Regarding stock investment, it means that it is an effective investment method for many market participants (=voters) to choose stocks (=photos) that they judge will appreciate (= will be beautiful).