Giter VIP home page Giter VIP logo

lottogame's Introduction

LottoGame

Game that calculates how long does it take to win the Lotto jackpot (school project)

Hi all! I am Seppo Hyvärinen, a 31 year old beginner programmer student and code enthusiast from Finland. This Java project is my first longer project in my Introduction to Programming course at TAMK University of Applied Sciences in Finland.

The idea of the application is to count how long does it take to hit the jackpot in the Finnish Lotto game (pretty long apparently). The game is run from the command line, you can either enter the numbers (separated with spaces) straight from the cmd or just start the app and take it from there. You will have to choose 7 unique numbers between the range of 1-40. If you fail to enter a correct type of coupon in the cmd - don't worry the app won't crash but instead starts and then you can enter the numbers one by one.

I also made documentation for each class and method to show what are the classes and methods meant to do.

Here's a screenshot of the app in action displaying basic functionality and how the program handles input errors. Demo pic

I had a lot of fun making this project, I hope you enjoy using it. For this application I created a variety of different classes and methods which are built so that they are (hopefully) useful outside this app as well. A lot of the methods are written without using the most advanced techniques (because I am a beginner programmer) to demonstrate my skills in creating methods with more basic Java language.

lottogame's People

Contributors

seppohyvarinen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.