Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/josnun/piculate
- Owner: JosNun
- License: mit
- Created: 2019-10-02T23:11:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-02T23:25:01.000Z (over 5 years ago)
- Last Synced: 2024-06-19T14:55:10.594Z (7 months ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.