Let's Play ESP32 Lottery

Sdílet
Vložit
  • čas přidán 10. 09. 2024
  • I created a simple Node.js WebSocket application that generates random numbers and sends them to clients. Using this app, I made a lottery game. This game is just for fun-you can't earn real money, but you can play with it and test your numbers. I like WebSockets and i will probably make some tutorials.
    BOARD USED IN PROJECT:
    Board used in video:
    T-display AMOLED Touch: www.lilygo.cc/...
    T-display AMOLED Touch with black shell: www.lilygo.cc/...
    CODE: github.com/Vol...
    Support me on: KO-FI ko-fi.com/volo...
    PATREON: / volosprojects
    Don't forget to subscribe, like, and hit the notification bell for more IoT and ESP32 tutorials!#esp32

Komentáře • 29

  • @madwilliamflint
    @madwilliamflint Před měsícem +4

    Your UI work is so crisp. It's just gorgeous.

  • @bhambhole
    @bhambhole Před měsícem +6

    I learn something new from each project you do. I've been using them as a tutorial while i familiarize myself with the T-display. Thank you for all the education.

    • @VolosProjects
      @VolosProjects  Před měsícem +2

      @@bhambhole thank you for this comment. It is nice to know that.

    • @TheTriangle2012
      @TheTriangle2012 Před měsícem +3

      Just from curiosity , what exactly you learned from this particular project? I learned many usefull things from Volos before and for a reson. He always was very informative not explaining just what is going on display, but how it was programed.
      Unfortunately this chanel can not be assumed as educational chanel anymore, where people can learn something. Rather it became just demonstration of his possibilities hopping that someone will see it and order the project. And it is very pity. :(

    • @VolosProjects
      @VolosProjects  Před měsícem

      @TheTriangle2012 sorry to hear that, i dont understand what are you doing here. Bye

    • @TheTriangle2012
      @TheTriangle2012 Před měsícem +2

      @@VolosProjects to be honest I don't understand the reason for your aggression, I thought that any person could express certain critical remarks.
      The meaning of my comment is simply regret that your wonderful channel, which I am sure many watched and really learned something (including me) so much changed the vector from your desire to help people (who are also trying to help you, including me) to simply demonstrating your own projects.
      You are the owner of the channel and of course it is up to you to decide how to create it, and I simply expressed my regret, not expecting such aggression.
      good luck to you.

    • @VolosProjects
      @VolosProjects  Před měsícem +1

      @@TheTriangle2012 sorry , you are right, i had bad day. And i am litle confused about this channell. I will make video that makes clear that this is not educational content anymore.

  • @rdyer8764
    @rdyer8764 Před měsícem +7

    Much cheaper that playing the real lottery. :))

  • @tubeDude48
    @tubeDude48 Před měsícem +2

    This is unbelievable! You never stop impressing me! 👍

  • @tombraselton2671
    @tombraselton2671 Před měsícem +1

    I always love your interfaces! I REALLY wish that I had your skill. I can do data and back-end ANYTHING but I cannot make it look pretty. I feel that presentation is pinnacle for efficiency. Keep up the beautiful GUIs. They are sooooo impressive. Your work really shines! 👍

    • @VolosProjects
      @VolosProjects  Před měsícem

      @@tombraselton2671 thank you Tom, backend is my weakness but designing thease UIs is my hobby. But it is all practice. Thank you for nice comment. Nice commenta make my days better. Tnx.

    • @tombraselton2671
      @tombraselton2671 Před měsícem +1

      @@VolosProjects Absolutely, sir! I do agree that practice is how we get better but at 53 years old, I have practiced my interfaces on many technologies since 1991. It hasn’t progressed as I would want. Even your “hobby” level puts me in the dirt. I have an advantage as I have seen your code since you started youtube. It has always progressed and improved. It’s neat to see you learning it while your displays continue to shine. Even your commenting got better. You see all of the comments on your interfaces. You have a skill that is uncommon and appreciated. I have used your guidance to make a simple line-graph in one of my projects and a chart in another. I felt next-level to have such a nice display of my data that I gathered. :)

  • @VeniceInventors
    @VeniceInventors Před měsícem

    Very nice!
    As far as suggestions, since I don't know what the code does and what the cheating issue is, I can only suggest that to prevent cheating you store all the player data on the server side, and only let the devices submit their UID (MAC) and chosen numbers. That way no matter what each device does, it can only get the real balance and payout.
    If players are able to associate a name with the device, you could also display a chart of winners on the web site or devices from that data.
    To be able to handle thousands of live players, keep most data in memory but have one transaction log file on disk appended in real-time, as that's lightning fast, and in case of complete crash or power failure, that log allows restoring everything back. I could go into more details but that might be too much for the comments section :-)
    One the device, maybe let the players select a "keep playing same numbers automatically" option? Maybe add some graph which shows the recent lose/win history or balance?

  • @TradieTrev
    @TradieTrev Před měsícem +2

    Blokes like yourself I want to program my local pokies machine! I can so tell your an embedded dev from way back!

  • @robsonhasselhoff
    @robsonhasselhoff Před měsícem

    What is expected to do with the code you shared without a node server? Actually there is no code but a compiled firmware.

    • @VolosProjects
      @VolosProjects  Před měsícem +1

      @@robsonhasselhoff i just shared game. I cant share node server.

  • @lepetitponey
    @lepetitponey Před měsícem

    Really cool project 👏
    What drawing libraries are you using to make such a nice UI?

    • @VolosProjects
      @VolosProjects  Před měsícem +1

      In this case lvgl, and sqareline studio software

    • @lepetitponey
      @lepetitponey Před měsícem

      @@VolosProjects thanks for sharing, it opens many possibilities for me. Lvgl seems very handy to handle touch screen interactions.

  • @raymondmichael4987
    @raymondmichael4987 Před měsícem +2

    first 🎉

  • @peterdosmith6608
    @peterdosmith6608 Před 22 hodinami

    This is so disappointing. I came to learn from your code, not to play games. I love your design and want to l learn how you did this. This is only possible if you publish the code. Please reconsider and publish your code.

    • @VolosProjects
      @VolosProjects  Před 21 hodinou +1

      since nobody is playing game anymore i can share code , here it is github.com/VolosR/LotoCode , i cant share serverside code becouse i dont have it anymore, it was stored on server and i didnot want to pay hosting anymore so i deleted it

    • @peterdosmith6608
      @peterdosmith6608 Před 3 hodinami

      @@VolosProjects This is very cool. Thanks ever so much. I can learn a lot from the way you have done this.

  • @abdokh7315
    @abdokh7315 Před měsícem +1

    lottery is haram