Program to count points for a BLIND TEST

roro56 -  
[Dal] Posted messages 6122 Registration date   Status Contributor Last intervention   -
Good evening,
On Saturday, December 16, I have to host an event, and I am organizing a blind test.
I would like to know if there is a scoring software available, or if there isn't, how I could create a similar program.
I need to display the scores on a big screen.
(there are 10 teams)

Could you help me? Thank you in advance.

4 answers

  1. [Dal] Posted messages 6122 Registration date   Status Contributor Last intervention   1 108
     
    Hi roro56 and Whismeril,

    To do this kind of thing, where a graphical interface is required, the simplest way is still to use your browser along with some HTML and JavaScript.

    To create a simple counter, a few years ago I suggested this: https://forums.commentcamarche.net/forum/affich-26349714-compteur-sur-pc#1 for someone looking for a simple way to count calls by clicking.

    It displays a big red button with a number, which is incremented when clicked. You just need to adapt it to display several buttons of different colors and increment 10 different variables, and there you go :-)

    Adapted for several teams and buttons, it would look like this:

    <html> <head> <style type="text/css"> .equipe{display: inline-block;margin: 30px} .bouton1{width:100px;height:100px;border-radius:50px;font-size:20px;color:#fff;line-height:100px;text-align:center;background:red} .bouton2{width:100px;height:100px;border-radius:50px;font-size:20px;color:#fff;line-height:100px;text-align:center;background:blue} </style> <script type="text/javascript"> function incrementer(IDcompteur) { compteur = document.getElementById(IDcompteur).innerHTML; compteur++; document.getElementById(IDcompteur).innerHTML = compteur; } </script> </head> <body> <div> <div class="equipe"> <h1>Team 1</h1> <div class="bouton1" onclick="incrementer('IDCompteur1')"><span id="IDCompteur1">0</span></div> </div> <div class="equipe"> <h1>Team 2</h1> <div class="bouton2" onclick="incrementer('IDCompteur2')"><span id="IDCompteur2">0</span></div> </div> </div> </body> </html>


    Dal
    1
    1. [Dal] Posted messages 6122 Registration date   Status Contributor Last intervention   1 108
       
      As indicated in my previous message:

      Save this in Notepad in a file named "compteur.html", for example.

      Then double-click on this file, which should open in your default browser. The code uses a CSS3 property "border-radius" to make a circle. If your browser is not recent or does not support this property, you will see a square, but you can still click on it :-)


      To create the 10 teams, just:

      - in the "style" section, create the remaining button styles .button3, .button4, etc., by changing the color to colors you like (https://www.w3schools.com/colors/colors_names.asp)
      - in the "body" section, add <div class="team"> blocks (a block is, for example, from line 23 to 28) using these buttons and incrementing the number of the relevant counter


      Dal
      0
    2. [Dal] Posted messages 6122 Registration date   Status Contributor Last intervention   1 108
       
      Ah, and another detail, roro56, if you're still reading us:

      On Saturday, December 16th, I have to host an evening and I'm organizing a blind test.

      If you're talking about December 16, 2016, that's a Friday :-)
      0
    3. roro56 > [Dal] Posted messages 6122 Registration date   Status Contributor Last intervention  
       
      yes yes it’s indeed a Friday night ;)
      0
    4. roro56
       
      Thank you very much for your help :)
      The program is really great. I just wanted to know if we could correct a mistake (= typo, so points to the wrong team)
      Thanks in advance
      0
    5. [Dal] Posted messages 6122 Registration date   Status Contributor Last intervention   1 108
       
      what mistake, what strike?

      do you mean if you click wrong?
      0
  2. Anonymous user
     
    Good evening

    Do you have any programming fundamentals?
    • If yes, it’s just about managing 10 collections and displaying the sum.
    • If not, I recommend using a spreadsheet: Libre Office, Numbers, Excel, etc...


    --
    When I was young, the Dead Sea was only sick.
    George Burns
    0
    1. roro56
       
      I would like it to be at least ergonomic, because I could never manage a spreadsheet while also playing the music and all that. It would be nice to have something simple with boxes labeled team 1 and below that the number of points, and when you click on it, it adds one to the score.
      0
  3. Anonymous user
     
    Hello

    Thank you for keeping in mind that CodeS-SourceS and CCM are communities of mutual assistance. All responses on the forum are provided by volunteers who give their free time to help solve problems.

    We will not do the work for you.
    If you think you can learn a programming language well enough in less than 2 weeks to create your app, then start by reading this article

    https://www.commentcamarche.net/faq/457-programmation-comment-debuter-quel-langage

    --
    When I was a kid, the Dead Sea was just sick.
    George Burns
    0
  4. carol103
     
    If you are on Windows, you can check here, you say what you want and we will do it for you (for free)
    http://libertybasic.fr/forum/index.php
    0