Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/josnun/piculate

A very rough Go program to calculate Pi using one of the Monte Carlo methods
https://github.com/josnun/piculate

Last synced: about 1 month ago
JSON representation

A very rough Go program to calculate Pi using one of the Monte Carlo methods

Awesome Lists containing this project

README

        

# PiCulate

My first Golang project

TLDR: Probably breaking all the best practices and not something you should reproduce. The basic logic _might_ be solid though.

Uses one of the [Monte Carlo Methods](https://en.wikipedia.org/wiki/Pi#Monte_Carlo_methods) to calculate Pi.

## Todo
- [ ] Make it accurate
- [ ] Investigate using a randomer random number
- [ ] Write the output to the screen instead of the terminal
- [ ] Give it less awful colors
- [ ] Documentation
- [ ] Best Practices?
- [ ] Enable passing in the size through args
- [ ] Other things?

# License
Licensed under the MIT license.
See [LICENSE](./LICENSE) for details.