lokeshsapkota / counting-pi-with-colliding-blocks Goto Github PK
View Code? Open in Web Editor NEWThis project simulates a pool game where two rectangular blocks collide and give the value of π. Users can input the number of digits of π they want to consider, and the program calculates the corresponding value of π via the simulation of the collisions.