How much will it cost to order such a program on Android?

Came up with a program, and the design is already done, but with the code - can't do anything as have not studied the matter, is that a little bit.
The program for game in poker, not a game, but in order to calculate your chips on one player. Enter a value of white, red, blue, black... of chips and the number of players and you are counting how many chips on one player.

I personally think(and when it seems to be baptized )))))) that the program is easy, as there are simple calculations, but it will not speak, as "Aencoder"))))

I think the hardest thing is to translate my design into code.

Type of program: 5df0bc7f33538175085300.png
April 3rd 20 at 17:27
2 answers
April 3rd 20 at 17:29
Keep it Program.html
<html>
the <head>
<title></title>
<style>
body,input,button {font-family:Arial;font-size:2em;color:#fff;}
body {background: linear-gradient(45deg, #2e1d92, #81168f);}
input {background: none;border: none;border-bottom: 3px solid #fff;text-align: center;}
label input {width:2em;}
label.line input{margin-top: .5em;font-size: 1.5 em;}
label:before{content: "";display: block;width: 1.5 em;height: 1.5 em;border: 4px solid #fff;border-radius:1em;}
label.line:before {float:left;margin-top:.75em;margin-right: .4em;}
label.col:before {margin-top:1em;margin-right: .2em;}
label.col input {margin-top:.5em;font-size:1em;width:2em;}
label.white:before{background: #fff;}
label.red:before{background:#ea3b3b;}
label.blue:before{background:#4850ed;}
label.green:before{background:#56e85a;}
label.black:before{background:#222;}
button {font-size:1em;background: none;border: 3px solid #fff;border-radius: 1em;margin: 1em;padding: .3em 2em;}
</style>
the <script>
function calc(){
let players = parseInt(pl.value),input = [iw,ir,ib,ig,il],output = [ow,or,ob,og,ol];
input.forEach(function (v, i){output[i].value=Math.floor(parseInt(v.value)/players);})
}
</script>
</head>
the <body>
<div style="display:flex;justify-content: center;align-items:center;height:100%">
<div style="display:flex;align-items:center;flex-direction:column;">
<div style="text-align:center;">number of participants:</div>
<input type="text" size="1" id="pl">
<label class="line white"><input type="text" id="iw"></label>
<label class="line red"><input type="text" id="ir"></label>
<label class="line blue"><input type="text" id="ib"></label>
<label class="line green"><input type="text" id="ig"></label>
<label class="line black"><input type="text" id="il"></label>
<button onclick="calc()">Count</button>
the <div>number of chips on one player</div>
<div style="display:flex;justify-content: space-evenly;width:100%">
<label class="white col"><input type="text" id="ow"></label>
<label class="col red"><input type="text" id="or"></label>
<label class="col blue"><input type="text" id="ob"></label>
<label class="col-green"><input type="text" id="og"></label>
<label class="col blue"><input type="text" id="ol"></label>
</div>
</div>
</div>
</body>
</html>

You 300 rubles, an hour passed...
5df0de529450e741675030.jpeg
April 3rd 20 at 17:31
come on free will, write to me on soap
wrote - sydnie commented on April 3rd 20 at 17:34
mark solved if standards - kasandra74 commented on April 3rd 20 at 17:37

Find more questions by tags Android