Skip to content

astrapi69/lottery

Repository files navigation

Overview

Build Status Coverage Status Open Issues Maven Central Donate

The target of this project is to create random lottery results.

Note

No animals were harmed in the making of this library.

Donations

This project is kept as an open source product and relies on contributions to remain being developed. If you like this project, please consider a donation

over paypal:

PayPal this

or over bitcoin(BTC) with this address:

bc1ql2y99q7e8psndhcc3gferk03esw3qqf677rhjy

Donation Bitcoin Wallet

or over FIO with this address:

FIO7tFMUVAA9cHiPPqKMfMXiSxHrbpiFyRYqTketNuM67aULuwjop

Donation FIO Wallet

or over Ethereum(ETH) with:

0xc057D159D3C8f3311E73568b334FF6fE82EB2b7D

Donation Ethereum Wallet

or over Ethereum Classic(ETC) with:

0xF708cA86D86C246B69c3F4BAe431eBbe0c2bfddD

Donation Ethereum Classic Wallet

or over Dogecoin(DOGE) with:

D5yi4Um8cpakd6yPRm2hGWuQ5nrVzhSSW1

Donation Dogecoin Wallet

or over Monero(XMR) with:

49bqeRQ7Bf49oJFVC72pqpe5hFbb62pfXDYPdLsadGGF81KZW2ZfrPZ8PbAVu5X2v1TYAspeczMya3cYQysNS4usRRPQHVw

Donation Monero Wallet

or over flattr:

Flattr this

Key features:

  • Calculate how much draws will be needed to win with the given lottery ticket
  • Draw a lottery numbers in different algorithms
  • Draw a super number
  • Draw the number of the game seventy seven
  • Draw of lottery numbers in a given number area and a given volume
  • Summarize draw with a given counter map from already drawn lottery numbers

License

The source code comes under a propriatary and confidential license. Unauthorized copying of this software and its files, via any medium is strictly prohibited.

Javadoc

Javadoc lottery-core

Javadoc lottery-data

Maven dependency

Maven dependency is now available on sonatype. Check out sonatype repository for latest snapshots and releases.

You can first define the version properties:

<properties>
		...
	<!-- LOTTERY versions -->
	<lottery.version>6.1</lottery.version>
	<lottery-core.version>${lottery.version}</lottery-core.version>
	<lottery-data.version>${lottery.version}</lottery-data.version>
		...
</properties>

You can add the following dependencies to your project for use the functionality of lottery.

Add the following maven dependency to your project pom.xml if you want to import the core functionality of lottery-core:

	<dependencies>
		...
		<!-- LOTTERY-CORE DEPENDENCY -->
		<dependency>
			<groupId>de.alpharogroup</groupId>
			<artifactId>lottery-core</artifactId>
			<version>${lottery-core.version}</version>
		</dependency>
		...
	</dependencies>

Add the following maven dependency to your project pom.xml if you want to import only the lottery-data like algorithms, modes, paddings etc.:

	<dependencies>
		...
		<!-- LOTTERY-DATA DEPENDENCY -->
		<dependency>
			<groupId>de.alpharogroup</groupId>
			<artifactId>lottery-data</artifactId>
			<version>${lottery-data.version}</version>
		</dependency>
		...
	</dependencies>

gradle dependency

You can first define the version in the ext section and add than the following gradle dependency to your project build.gradle if you want to import the core functionality of lottery:

define version in file gradle.properties

lotteryVersion=6.1

or in build.gradle ext area

ext {
			...
    lotteryVersion = "6.1"
			...
}

and than add the dependency to the dependencies area

dependencies {
			...
    implementation("de.alpharogroup:lottery-core:$lotteryVersion")
    implementation("de.alpharogroup:lottery-data:$lotteryVersion")
			...
}

Semantic Versioning

The versions of lottery are maintained with the Semantic Versioning guidelines.

Release version numbers will be incremented in the following format:

<major>.<minor>.<patch>

For detailed information on versioning you can visit the wiki page.

Want to Help and improve it?

The source code for lottery are on GitHub. Please feel free to fork and send pull requests!

Create your own fork of astrapi69/lottery/fork

To share your changes, submit a pull request.

Don't forget to add new units tests on your changes.

Contacting the Developer

Do not hesitate to contact the lottery developers with your questions, concerns, comments, bug reports, or feature requests.

  • Feature requests, questions and bug reports can be reported at the issues page.

Similar projects and links

Credits

Travis CI
Travis CI
Special thanks to Travis CI for providing a free continuous integration service for open source projects
Nexus Sonatype repositories
sonatype repository lottery-core
sonatype repository lottery-data
Special thanks to sonatype repository for providing a free maven repository service for open source projects
codecov.io
Coverage Status
Special thanks to codecov.io for providing a free code coverage for open source projects
javadoc.io
Javadoc lottery-core
Javadoc lottery-data
Special thanks to javadoc.io for providing a free javadoc documentation for open source projects