/CoinFlip-Web-Application

CoinFlip is a simple web application ,can be used for toss in cricket match or other purposes. No longer required of real coin for toss.

Primary LanguageHTML

CoinFlip-Web-Application

Hello everyone, Myself Abhishek Jaiswal, currently pursuing diploma in computer science and engineering from Government Polytechnic Adityapur, Jamshedpur. This is a coin flip game, which can be use to toss.

Demo : https://iamabhishekjaiswal.github.io/CoinFlip-Web-Application/

In Coin.js, first random number (between 0 to 1) generate using random.math() then I used simple comparison If(number<0.5) Head else Tail. Here I also count total flips and total head and tail percentage.

Here you will find 3 source files :-

  1. index.html
  2. Coin.js
  3. coin1.mp4

I hope you like this web application, It is not new , but it is unique !