just now

Matching Lottery Numbers on the Commodore 64

In this episode I’m amending my previous lottery number generator to take six lucky numbers from the user to match against the randomly drawn numbers from the Commodore 64. This will allow us to compare what the computer has drawn to the user’s input,

Listen to this episode

0:00 / 0:00

Summary

In this episode I’m amending my previous lottery number generator to take six lucky numbers from the user to match against the randomly drawn numbers from the Commodore 64. This will allow us to compare what the computer has drawn to the user’s input, as well as keep drawing numbers until the user input comes up. It’ll be an interesting experiment to see how many draws that will take… Enjoy!

First published

04/10/2018

Genres

technology

Duration

16 minutes

Parent Podcast

Jay's Commodore Podcast

View Podcast

Share this episode

Similar Episodes

  • Flow Control in Commodore BASIC

    04/16/2018

    In this episode I’ll explain the concept of Flow Control in Commodore BASIC. It’s kind of a video update of a post I did a while ago. In essence, it means that we can tell the programme to take a different route in the code depending on a condition that’s met. We’ll explore the IF/THEN ... Read more

    Clean
  • Programmatic Loops in Commodore BASIC

    04/17/2018

    In this episode I’ll demonstrate how to use programmatic loops in Commodore BASIC. I’ll show you how to use the FOR/NEXT loop (available in all versions of Commodore BASIC), as well as the DO/WHILE loops (available on the Plus/4 and C128). Enjoy!

    Clean
  • Jay Jay & Sharon

    09/26/2023

    info@podcastone.com

    This week's guest is Jay Jay's wife Sharon, who joins the podcast for an open-ended conversation about life, love & Twisted Sister. Don't miss this conversation, only on The Jay Jay French Connection: Beyond the Music!

    Clean
  • Sorting an Array on the Commodore 64

    04/01/2018

    In this episode I’ll demonstrate how to sort a numeric array on the Commodore 64. The same principle works for string arrays, and of course on all other Commodore BASIC computers. The technique I’m using here is called Bubble Sort: in effect we’re comparing the first two items in the array, and if the left ... Read more

    Clean

Similar Podcasts

  • Ivan S' Podcast

    08/11/2020

    Ivan S

    Clean
  • Podmax Podcast: Let's Talk About Movies

    08/15/2020

    Podmax Podcast

    A podcast dedicated to the love of movies, the good and bad.

    Clean
  • Cedar Valley Young Adults Podcast

    08/11/2020

    CVC Young Adults Podcast

    Cedar Valley Church's Young Adult Ministry Podcast, in Bloomington, MN

    Clean
  • One Piece Podcast

    08/11/2020

    No es otro estúpido podcast

    El único podcast de One Piece en castellano.Entra, escúchanos y diviértete con este programa dedicado exclusivamente a la maravillosa serie de One Piece. Una maravillosa aventura de piratas y corsarios que no te dejará indiferente.Teorías locas, curiosidades, resúmenes y monográficos es lo que os encontrareis en este canal.¡Suscríbete y recomiéndanos a tus amigos!Blog:https://podcastonepiece.wordpress.comTwitter: https://twitter.com/PodcastOnePieceFacebook:https://www.facebook.com/podcastonepiece

    Clean
  • STAR WARS The Vintage Rebellion Podcast

    08/11/2020

    The Star Wars Vintage Rebellion Podcast - SWTVR - Podcast Team

    The Star Wars Vintage Rebellion Podcast is brought to you by five vintage Star Wars Toy collectors. The team discuss vintage star wars collectibles, recent threads and stories from across social media and forums, the current vintage market, oddball items, as well as covering stories that have been rocking the vintage collecting community. There are also interviews with all types of collector as well as an events section where you can discover Star Wars events in your area. All this plus much much more, so download this podcast now!

    Clean
  • PeloTonOfFun

    08/18/2020

    PeloTonOfFun Podcast

    A pro cycling podcast by American husband and wife super fans Ryland & Emily Lu Aldrich.

    Clean
  • AMERICA OUT LOUD PODCAST NETWORK

    08/12/2020

    AMERICA OUT LOUD PODCAST NETWORK

    Your Source for Free Speech, Talk Radio, Podcasts, and News - America Out Loud is home to expert columnists, talk show hosts, and national commentators - Here we take on the challenges of our generation so that we can preserve future generations.

    Clean
  • Everything is Workable

    08/11/2020

    K. S. C. Hatch

    Everything is Workable - a series of podcasts examining how every experience, every situation, every moment is an opportunity to work with our mind.

    Clean
  • Podcast – Teenager Lesben-Podcast

    08/15/2020

    Hey Ihr da draussen,dies ist ein Podcast für schwule und lesbische Teenager.

    Clean
  • Club Disco Dynamite

    08/12/2020

    DJ Forplay Music

    Club Disco Dynamite is a radio show brought to life at the dance club. It is a place to go and forget your troubles a place to come as you are and be how you want to be.The 1970’s were a tumultuous time and people went to the disco to forget and to be free. Experience the vibrancy and energy of the 70’s at Club Disco Dynamite. Dance the night away to fabulous disco dance music from the 70’s, and 80’s electro disco with music provided by DJ Forplay with occasional appearances by disco dance artists and local celebrities.

    Clean
  • CriticaAme Podcast

    08/15/2020

    Crítica Americanista

    Podcast by Crítica Americanista

    Clean
  • CIRIosity

    08/11/2020

    CIRI Corporate Communications

    Tune in to Cook Inlet Region Inc.’s podcast about all the fascinating goings-on behind the scenes at CIRI. Our hosts explore the people, places and activities that make CIRI a success.

    Clean

Episode Description

In this episode I’m amending my previous lottery number generator to take six lucky numbers from the user to match against the randomly drawn numbers from the Commodore 64. This will allow us to compare what the computer has drawn to the user’s input, as well as keep drawing numbers until the user input comes ... Read more

Discussion (0)

Be respectful and constructive in your comments

No comments yet

Be the first to share your thoughts about this episode!