docs: link earlier Java and Python versions by commit and fix module path

This commit is contained in:
tiennm99 committed 2026-09-30 16:55:05 +07:00
1 parent 0252800503
commit 426781b3ac
2 files changed
+9 -4

No files matched your search

+8 -3
View File
@@ -1,4 +1,4 @@
# go-lottery-generator
# lottery-generator
A lottery number generator written in Go that generates random sequences and tracks when any sequence appears multiple times.
@@ -29,6 +29,11 @@ This is a statistical curiosity inspired by [Vietlott](https://vietlott.vn/) Pow
By the birthday paradox, with C(45,6) = 8,145,060 possible combinations, you'd expect a repeat after roughly √(2 × 8,145,060 × ln 2) ≈ **3,360 draws** on average. This program runs the simulation and stops as soon as one sequence has been generated exactly 6 times — letting you observe the actual count empirically.
## Original Python Version
## Earlier versions
*In 2025, I rewrote this project using Go. The original Python version of this project can be found at [feature/python](https://github.com/tiennm99/lottery-generator/tree/feature/python) branch.*
This repository keeps the full history of the earlier implementations. The first
version was written in Java (2023), then rewritten in Python, and in 2025 in Go.
Browse them at the last commit of each:
- [Java version](https://github.com/tiennm99/lottery-generator/tree/98c8ad5a6b49bda9ec342a95408fb10676640d22)
- [Python version](https://github.com/tiennm99/lottery-generator/tree/f7432edaf382954e1dacfc4833b3120a64546163)
+1 -1
View File
@@ -1,3 +1,3 @@
module github.com/tiennm99/go-lottery-generator
module github.com/tiennm99/lottery-generator
go 1.21