Making a Game With Discord's Bot API

Поделиться
HTML-код
  • Опубликовано: 1 июн 2024
  • I challenged myself to make a game using Discord's Bot API in 24 hours. I ended up creating a clone of Sokoban, a puzzle game where you push boxes around to get them to certain locations, that is played entirely through a Discord bot!
    Update: Sokobot is now hosted online, 24/7! You can find the invite link below. I also added a lot of your suggestions to the bot- you can check out the update trailer here: • Sokobot v.1.1 Trailer ...
    Add it to your server through top.gg: top.gg/bot/713635251703906336
    → Source code: github.com/PolyMarsDev/Sokobot
    Twitter: / polymarsyt
    --Chapters--
    0:00 Intro
    1:35 Discord Bot Basics
    2:18 Adapting the Game for Discord
    3:08 First Test + Bugfixes
    3:48 Improving Controls
    6:43 Improving Visuals
    8:01 Simultaneous Games
    9:07 Conclusion
    --Resources/libraries used--
    JDA (Java Discord API)
    github.com/DV8FromTheWorld/JDA
    Making a Basic Discord Bot with Java - Oliy Barrett
    / making-a-basic-discord...
    Code a Discord Bot in Java with Discord JDA! (Episode 1: Commands & Embeds) - techtoolbox
    • Code a Discord Bot in ...
    --Music--
    "Tyrant" - Kevin Macleod (incompetech.com)
    "Bit Quest" - Kevin Macleod (incompetech.com)
    "Getting it Done" - Kevin Macleod (incompetech.com)
    "Sneaky Snitch" - Kevin Macleod (incompetech.com)
    "8-Bit Dungeon Level" - Kevin Macleod (incompetech.com)
    "Amazing Plan" - Kevin Macleod (incompetech.com)
    "Robobozo" - Kevin Macleod (incompetech.com)

Комментарии • 3,3 тыс.

  • @PolyMars
    @PolyMars  3 года назад +2259

    I spent the past week creating an update to Sokobot that implements most of your suggestions like editing messages! You can check out the trailer here to see the changes: ruclips.net/video/xp8S2uZI8jM/видео.html
    And Sokobot is now hosted online, so you can use this link to add it to your server: top.gg/bot/713635251703906336
    Thanks for all the feedback!

    • @jahzeline
      @jahzeline 3 года назад +9

      how do i change prefix?

    • @Damian-cilr2
      @Damian-cilr2 3 года назад +3

      Hey polymars when i tried to do play it would just delete the message and do nothing

    • @ubi1212
      @ubi1212 3 года назад +8

      i have a good idea, make a bot to beat this game

    • @eyan2628
      @eyan2628 3 года назад +1

      Can you release the game that you made for your class? I would love to play.

    • @Ultrapheonix
      @Ultrapheonix 3 года назад +4

      For some reason it isn't working

  • @banana-uo3be
    @banana-uo3be 3 года назад +2263

    -Are you a game developer?
    -Yes
    -What is your engine?
    -discord

    • @indriyantoYin
      @indriyantoYin 3 года назад +4

      lol

    • @qwertwhy3601
      @qwertwhy3601 3 года назад +18

      :p
      edit: thks for all the likes 2nd most liked comment in my account

    • @piss282
      @piss282 3 года назад +20

      Hotel?
      Trivago

    • @BlueBoyZ9
      @BlueBoyZ9 3 года назад +2

      l͓̽o͓̽l͓̽

    • @GTaexe-ov5oz
      @GTaexe-ov5oz 3 года назад +5

      Eu li e vc leu?

  • @iesty
    @iesty 3 года назад +2244

    Everybody gangsta til the walls develop emotions

    • @nyxdom2129
      @nyxdom2129 3 года назад +9

      Nice

    • @c424g
      @c424g 3 года назад +16

      😳

    • @unknowown7484
      @unknowown7484 3 года назад +2

      the Kyles don't give a sh*t they shall keep on punching the drywall

    • @CyanPlushCaptain
      @CyanPlushCaptain 3 года назад +19

      😳😳😳😳😳😳😳😳😳
      😳 😳
      😳 🟧 ❎ 😳
      😳 😳
      😳 😳
      😳😳😳😳😳😳😳😳😳

    • @poopcat7810
      @poopcat7810 3 года назад +1

      monki

  • @VentingGragory
    @VentingGragory 3 года назад +681

    gf: "You don't even care, I feel like I'm talking to a wall!"
    the wall: 😳

    • @Eivyn
      @Eivyn 3 года назад +7

      I know what to do but i don't know if i have the strength to do it

    • @Sufiley
      @Sufiley 3 года назад +7

      Modern things needs modern answers

    • @Eivyn
      @Eivyn 3 года назад +7

      @@Sufiley solutions

    • @ImSorryAmanai
      @ImSorryAmanai 3 года назад +6

      @@Sufiley Modern problems, call for modern solutions.

    • @ebnyhund7848
      @ebnyhund7848 2 года назад

      I didn’t understand until I finished the video-

  • @DrRobloxSpace
    @DrRobloxSpace 2 года назад +52

    Him: *"I give my self 24 hours so im in deadline..."*
    Dani: *Finally a worthy opponent*

    • @MrFishyCC
      @MrFishyCC Год назад +3

      YEAAHHH A DANI FANN

  • @GMPranav
    @GMPranav 3 года назад +516

    "Its not a game dev video without an arbitrary deadline" 💯

    • @TSwany
      @TSwany 3 года назад +7

      I scrolled and he said that right as this comment showed up

    • @poopcat7810
      @poopcat7810 3 года назад +2

      monki

    • @jazzram_
      @jazzram_ 3 года назад +1

      rammamia

    • @Aostrele
      @Aostrele 3 года назад +1

      @@TSwany i was about to say that

  • @JelleVermandere
    @JelleVermandere 4 года назад +2152

    Great! Now we can talk about games and play them in the same program! +1 for efficiency

    • @PolyMars
      @PolyMars  4 года назад +172

      Haha yeah! Love your videos by the way, keep up the great work :)

    • @TestTest-nv1dc
      @TestTest-nv1dc 3 года назад +3

      @@PolyMars can you host it online now?

    • @oldaccount6555
      @oldaccount6555 3 года назад +2

      Test Test good grief i don't have a discord account and i don't want to make it anyway

    • @farciarzfunny5326
      @farciarzfunny5326 3 года назад

      Upgrade +1 efficiency

    • @tideter
      @tideter 3 года назад +11

      *Unreal Discord*
      They now partnered up

  • @Dev-Siri
    @Dev-Siri 8 месяцев назад +8

    this video's intro hits hard now.

  • @Ben_6278
    @Ben_6278 3 года назад +17

    a way to tackle the issue of reactions being added slowly would've been to have the bot edit the message with the moved character instead of sending another one, also would've stopped spam.

    • @Rebdiest
      @Rebdiest Год назад

      i was thinking this exact thing

  • @wiebmeister
    @wiebmeister 3 года назад +601

    You should edit the message instead of sending a new one each time. This also fixes the reaction 'slowness' issue!

    • @eneg_
      @eneg_ 3 года назад +112

      In addition, discord (recently?) added the ability to delete user reactions so after you make a move it could simply delete your reaction

    • @hershes
      @hershes 3 года назад +22

      Eneg you can also track un-reactions to messages too so you don’t need to wait for the bot to delete the reaction for you.

    • @Arslan35
      @Arslan35 3 года назад +4

      @@eneg_ not recently, u coulda gone to "Reactions" and there delete it

    • @Remls
      @Remls 3 года назад +3

      @@hershes You have any idea how to do this in discord.js? Because it would solve a huge problem for me lol

    • @kartoffelsuppe1184
      @kartoffelsuppe1184 3 года назад

      This is the BIG brain suggestion

  • @embedyt
    @embedyt 3 года назад +1409

    can't believe I got a shoutout

  • @sublockdown
    @sublockdown Год назад +2

    Recently found your channel, currently doing discord bots with python, and your use of hashmaps was exactly what I was looking for to allow multiple users to use my oracle bot, thanks!

  • @givenup4adoptt
    @givenup4adoptt 3 года назад +10

    I’m ready for the “speeding running 100 levels of sokobot” videos

  • @shitruns
    @shitruns 4 года назад +1355

    So, when is the discord engine comming?
    Also instead sending more messages, try editing them so it looks smooth

    • @PolyMars
      @PolyMars  4 года назад +372

      I can’t believe I didn’t think of that at the time! Midway through editing the video someone suggested the same thing, so I’ll definitely implement that next time I update the bot :)

    • @shitruns
      @shitruns 4 года назад +33

      @@PolyMars ayyy!

    • @waterflame321
      @waterflame321 4 года назад +16

      Wouldn't the original get buried if you continue to type? Also you can only react once emote per message

    • @shitruns
      @shitruns 4 года назад +26

      @@waterflame321 remove your emote and click again AKA double click.
      And maybe a button to resend the message

    • @ThunderStormFortnite
      @ThunderStormFortnite 4 года назад +5

      @@waterflame321 but there is a way to make it i have seen it

  • @dexterandmaya775
    @dexterandmaya775 3 года назад +60

    Finally a RUclips that’s background music isn’t louder THAN THEIR FREAKING VOICE

  • @MEMERc23
    @MEMERc23 3 года назад +65

    Me who I dont understand a single thing out of his script: Intresting

  • @henryl2614
    @henryl2614 3 года назад +28

    "I dislike Unity's game engine."
    *"Dani, and the entire Norwegian fanbase has ordered your termination."*

  • @mizu_yt
    @mizu_yt 3 года назад +331

    the bot always deletes: left, right, up, down, w, a, s, d; even if the game is stopped...

    • @PolyMars
      @PolyMars  3 года назад +96

      Oops, I kind of overlooked that... thanks for letting me know! It'll be fixed in the next update :)

    • @ev_oo
      @ev_oo 3 года назад

      pog

    • @mizu_yt
      @mizu_yt 3 года назад +1

      @@PolyMars aighto

    • @mizu_yt
      @mizu_yt 3 года назад +1

      @@PolyMars it also seems responding to @Sokobot even if there's other text in the message

    • @OGMemes
      @OGMemes 3 года назад

      @@PolyMars why not edit the message instead of sending a new one each time? This is less resource-intensive because you don't need to add 5 reactions each time.

  • @SeizureSalad
    @SeizureSalad 3 года назад +190

    4:43 everyone gangsta until the pings dont end after you pause the video

  • @dalton_developer
    @dalton_developer 3 года назад +1

    Great work! Your channel is so underrated!

  • @bdorsey19
    @bdorsey19 3 года назад

    Got this bot for the discord between me and some friends! The bot is really fun to use!!! Keep up the good work

  • @MIO9_sh
    @MIO9_sh 3 года назад +1247

    5:37 Edit the message containing the display instead of sending a new one, then cancel the reaction added by the user. That will keep all the reactions, while updating the display

    • @bishopstudios5412
      @bishopstudios5412 3 года назад +36

      thas some big brain action

    • @saturndev
      @saturndev 3 года назад +39

      I was also thinking that

    • @jannis002
      @jannis002 3 года назад +28

      @@TheLemonMasterYT it‘s literally the same with Java in this case, editing messages and removing reactions is as simple as sending a message

    • @pineira6304
      @pineira6304 3 года назад +9

      @@TheLemonMasterYT disgusting python*

    • @MagentaRV
      @MagentaRV 3 года назад +21

      This. It would be WAY less spammy and easier on multiple players as well.

  • @drsherifff
    @drsherifff 3 года назад +163

    Dani be like: I made a game using UNITYS PARTICLE SYSTEM

    • @StanSariay9353
      @StanSariay9353 3 года назад +1

      lol this guy is inspired by dani

    • @maxmelee2102
      @maxmelee2102 3 года назад +2

      There is already a youtuber that did that

    • @StanSariay9353
      @StanSariay9353 3 года назад

      @@maxmelee2102 WHAT LOL

    • @justaplainoldbox8270
      @justaplainoldbox8270 3 года назад

      asimo gaming yeah his name is Zyger on yt

    • @sirgerald6846
      @sirgerald6846 3 года назад +3

      People need to stop spamming Dani on other devs videos

  • @Arztiser
    @Arztiser 8 месяцев назад

    I'm literally a Discord bot dev, and I use an obscure language BDScript, but this video is great at showing the challenges you face while working on a bot.

  • @cgl4de
    @cgl4de 7 месяцев назад +3

    Can we just talk about he fact that PolyMars just predicted Unity's future?....

  • @gunschlinger
    @gunschlinger 4 года назад +125

    He could edit the message instead of sending a new one

    • @okinawadreaming
      @okinawadreaming 3 года назад

      If it's possible to remove reactions from a message, it's definely possible to run the game in a single updating message

    • @MJ720
      @MJ720 3 года назад

      @@okinawadreaming It is possible. You can remove other peoples reactions or just the bots reaction. It's a pretty cool feature I use for assigning roles and ensuring that the max reactions aren't reached on the message.

  • @FormulaFanboy
    @FormulaFanboy 3 года назад +300

    8:56 Yup, as a game developer, I can confirm... that's game devs in a nutshell XD

    • @UltraGearGamesOfficial
      @UltraGearGamesOfficial 3 года назад +5

      Lol, hello there.

    • @tcmine
      @tcmine 3 года назад +2

      confirm what

    • @seanss
      @seanss 3 года назад +1

      Todd Howard, is that you?

    • @Temmie4Life
      @Temmie4Life 3 года назад

      i found you on a youtube video btw i still hate you from gamejolt

    • @FormulaFanboy
      @FormulaFanboy 3 года назад +1

      @@Temmie4Life and you still haven't explained why.

  • @gatto_furry
    @gatto_furry 6 месяцев назад +6

    "unity as a game engine is going downhill" That aged well.

  • @Iloonn
    @Iloonn Год назад

    That is incredible! Good job!

  • @Namelessed
    @Namelessed 3 года назад +180

    I don't know anything about programming, but watching people do stuff I don't understand is fun

    • @wynndye
      @wynndye 3 года назад +2

      lol same

    • @henryward8311
      @henryward8311 3 года назад +1

      not me xD!!

    • @asrieldreemerr6413
      @asrieldreemerr6413 3 года назад +2

      Same

    • @theblinkingbrownie4654
      @theblinkingbrownie4654 3 года назад +5

      try learning it, it's fun and maybe practical.

    • @Hannah-on9zw
      @Hannah-on9zw 3 года назад

      @@theblinkingbrownie4654 I'd say it's practical and maybe fun. It's definitely practical, but most people don't end up enjoying it

  • @shobhitmishra7327
    @shobhitmishra7327 3 года назад +518

    Yanderedev has made getting banned from his Discord server a game already, you're too late

  • @frostbot75readaboutsection53
    @frostbot75readaboutsection53 3 года назад +12

    Moral: if anything has a developer api, polymars will make a game with it.

  • @kuroko990
    @kuroko990 3 года назад

    woah i tried out this bot before even knowing you're the one that made it, great job on the bot man

  • @IronBrandon22
    @IronBrandon22 3 года назад +133

    Poly: *Shows Unity and Unreal*
    Me: There’s another

    • @vintprox
      @vintprox 3 года назад +9

      Godot!

    • @safir2241
      @safir2241 3 года назад +1

      godot

    • @Andre-gn4sj
      @Andre-gn4sj 3 года назад +1

      Unreal discord engine.
      no Sympathy required.

    • @j.r.7339
      @j.r.7339 3 года назад +15

      SCRATCH!

    • @IronBrandon22
      @IronBrandon22 3 года назад +3

      @@j.r.7339 Get that sh*t outa here!

  • @MiketheBassMan
    @MiketheBassMan 3 года назад +374

    I made a text-based MMORPG in discord years ago, and it's still going with a big active community, google "rfck endless war."
    It's a post-apocalypse slime-centric gang warfare simulation, with PvE and PvP combat, fishing, slimeoid pet battles, and a traversable world with territory capture mechanics. I believe it's the most complete actual game in discord

  • @mayonnaiseunrivaled
    @mayonnaiseunrivaled 3 года назад +1

    Didn't know u made this im impressed and liked the bot and didn't know u made this

  • @officialspamaccount
    @officialspamaccount 3 года назад

    Hey man, great video!

  • @radnos
    @radnos 4 года назад +150

    10:17 mom I'm on tv :D

    • @Pins30
      @Pins30 3 года назад +4

      I saw it

    • @irian3x3
      @irian3x3 3 года назад

      _tv_

    • @4TH4RV
      @4TH4RV 3 года назад

      @@irian3x3 I am actually watching this video on my tv browser

    • @atsffan-lm9ib
      @atsffan-lm9ib 3 года назад

      Wait WHAT

    • @Brahvim
      @Brahvim 3 года назад

      I couldn't see your name :/

  • @42258
    @42258 3 года назад +284

    PolyMars : **Says unity**
    Dani : **Apears behind him** hey you know that unity has MANY PARTICLE SYSTEMS AND THEY ARE VERRY COOL. . .

    • @DeathMane
      @DeathMane 3 года назад +10

      *K A R L S O N V I B E*

    • @nicolashinds3415
      @nicolashinds3415 3 года назад +19

      UNITYS PARTICLE SYSTEM

    • @dontreadmypfp1720
      @dontreadmypfp1720 3 года назад +13

      U N I T Y S P A R T I C A L S Y S T E M

    • @stillchill9781
      @stillchill9781 3 года назад +13

      before i use unity's particle system i'd like to thank our sponsor unity's particle system

    • @donutbedum9837
      @donutbedum9837 3 года назад +3

      Yes Dani

  • @shroomy_
    @shroomy_ 3 года назад

    no idea whats going on but i enjoyed this a lot, i cant believe i didnt get distracted by something else , because i get distracted very easily. Nice video!! You are very Talented!

    • @gmereqpl
      @gmereqpl 3 года назад

      i had question for u why bot is offline all day i added it commands dont work pls help ;-;

    • @shroomy_
      @shroomy_ 3 года назад

      @@gmereqpl oh- uh idk rly.. i didnt make the bot so yeah

  • @off_man3059
    @off_man3059 2 года назад

    Poggers! Will be downloading/inviteing soon!

  • @Khud0
    @Khud0 3 года назад +178

    Give programmers any sort of API, and they shall make your software their own, right? Discord is now a game engine, what the hell? :D Well done!

    • @aguywhosaguy
      @aguywhosaguy 3 года назад +5

      there are many other insane game bots, which is another reason why discord is netter than skype

    • @Khud0
      @Khud0 3 года назад +3

      @@aguywhosaguy Agreed. You've reminded me of the times when Skype had actual games in it. For instance, there was a "hangman" game which you could play together with someone over Skype. Not sure if it still exists.

    • @regen-Q
      @regen-Q 3 года назад +1

      Currently making a game bot myself lol

  • @floppa-films.coolguy
    @floppa-films.coolguy 6 месяцев назад +1

    Not only did the walls sometimes become the flushed emoji, but the player became the wall

  • @mhelbaterina9541
    @mhelbaterina9541 2 года назад

    Love this type of video, Can you make more vids like this?

  • @WeegeepieYT
    @WeegeepieYT 4 года назад +454

    I'm having issues with level 4, theres four boxes and they form a square, it's literally impossible to move any, pLs HeLp

    • @PolyMars
      @PolyMars  4 года назад +209

      Oh yeah, I guess I missed a few edge cases when spawning blocks. The GitHub repository has been updated with a fix!

    • @kobzyy
      @kobzyy 3 года назад +5

      hi weegee

    • @tazzaditonno4299
      @tazzaditonno4299 3 года назад +4

      Wait, this is weegeepie?

    • @luigi9119
      @luigi9119 3 года назад +2

      woah woah why are you here

    • @paravalent7974
      @paravalent7974 3 года назад

      E

  • @_froggyman
    @_froggyman 3 года назад +30

    1). Why am I getting this recommended now, I love this kind of stuff
    2). Why does this man not have 100k?

    • @EEEEEEEE
      @EEEEEEEE 2 года назад

      ‎‎‎‎‎‎‎‎‎E‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

    • @myrinsk
      @myrinsk 2 года назад

      does now

  • @Theduckbothers
    @Theduckbothers Год назад

    Great video keep it up!

  • @ItsStartedTo
    @ItsStartedTo 3 года назад +3

    I don’t know anything about coding but this is very entertaining and interesting

  • @marsmarineris
    @marsmarineris 3 года назад +493

    I Just discovered a poly version of me

  • @EnderElectrics
    @EnderElectrics 3 года назад +37

    I remember my friend made Minesweeper with this!

  • @neonbrickchannel2136
    @neonbrickchannel2136 2 года назад +1

    You can go further. There is node js module named "canvas" (as in web) and there is a node js discord module. You can draw picture on canvas and send it player. I used this method when I wrote text stylizer.

  • @JarnoKaptein
    @JarnoKaptein 2 года назад

    Hey @PolyMars , discord added "Buttons" so you can use that instead of reaction controlls, if you do this you are i think the first one that ever did it :D

  • @Lowdave
    @Lowdave 3 года назад +174

    Can we just talk about how underrated this guy is?

    • @Rafelandroid2
      @Rafelandroid2 3 года назад +3

      nO
      jk

    • @caracatitaprajita628
      @caracatitaprajita628 3 года назад +1

      Exactly he is just a low sub count dani

    • @Brahvim
      @Brahvim 3 года назад

      Ayy you have 22K subscribers but no tick mark after your name...why? :/

    • @Lowdave
      @Lowdave 3 года назад

      It’s 100k to get the check mark :/

    • @ThunderStormFortnite
      @ThunderStormFortnite 3 года назад

      I was here before 800

  • @Galaxure
    @Galaxure 4 года назад +19

    are we just going to ignore how much the editing makes this video entertaining and just focus how good this man's coding skills are?
    fr this deserves more attention no cap

  • @alecs9079
    @alecs9079 2 года назад

    I just love how the sound track for pocket ants from the mobile play app is playing in the background

  • @Sphero_Craft
    @Sphero_Craft 3 года назад

    Thanks, i have so much fun using sokobot!

  • @Aloidark
    @Aloidark 3 года назад +124

    He's making everyone in the comments sound stupid

    • @the-voidwalker
      @the-voidwalker 3 года назад

      Me who work on my second game 😐

    • @neffy184
      @neffy184 3 года назад +2

      @@the-voidwalker second game doesnt make the first any good

    • @the-voidwalker
      @the-voidwalker 3 года назад

      @@neffy184 ik but im making games for my self then if I think game has good potential I work on it for more I have like 4 games I try to make but its easier to make so platform game and im trying to add enemies

    • @ADeeSHUPA
      @ADeeSHUPA 3 года назад

      @@the-voidwalker uP

  • @sanes4402
    @sanes4402 3 года назад +515

    What if we 😳😳😳
    Pushed boxes to X's 😳
    JK 😂😂
    Unless? 😳

    • @AF-bh5ol
      @AF-bh5ol 3 года назад +25

      😳

    • @annsheldon6166
      @annsheldon6166 3 года назад +16

      this made me laugh so hard it sounded like i was murdering sr. pelo

    • @aaaaaaaaaaaajajjaiwjw
      @aaaaaaaaaaaajajjaiwjw 3 года назад

      Pls pls help me pls beg me to stop ✋ I wanna play this game its so epic tho

    • @eggslosh
      @eggslosh 3 года назад

      that’s a big funi

    • @moneycookie3334
      @moneycookie3334 3 года назад +1

      Wait I don’t get it, could u explain to me?

  • @cheezeboi758
    @cheezeboi758 3 года назад

    ur so underrated lmao keep up the good work!

  • @noah77
    @noah77 3 года назад +1

    This is absolutely amazing :joy:

  • @Le_Codex
    @Le_Codex 3 года назад +20

    So basically before fixing the "everyone can play" issue, you had Discord plays Sokoban... That's something you can probably expand on with other simple games

  • @noapoleon_
    @noapoleon_ 3 года назад +16

    I learned programming for the sole purpose of understanding what was written on those dev vlogs walls of code 😂

    • @cheeseycheezy
      @cheeseycheezy 3 года назад

      Is it fun? Because if it is, i'm gonna learn it too >:D
      It's so cool to be able to create a game- ;-;

    • @felixywixy
      @felixywixy 3 года назад

      Clara 1707Blox it can be frustrating at first but once u get the hang of it it’ll be easy. Also it feels good when ur code runs exactly how u want it to be.

  • @pogrammer
    @pogrammer 7 месяцев назад +2

    aged like fine wine

  • @baenaamchachaa2328
    @baenaamchachaa2328 3 года назад

    I loved this bruh
    U rocked

  • @ghosttiger38
    @ghosttiger38 3 года назад +4

    When you click on a random video that looks cool, find out the person is cool, go to sub, and find out they don't have many subs....
    Definitely should have more

  •  3 года назад +59

    "Hashmaps are so OP" - truer shit has never been said

  • @Monkey_lollipop
    @Monkey_lollipop Год назад

    The intro and the ant colony sound is very good

  • @phospamic
    @phospamic 3 года назад +2

    just noticed that we got the same keyboard, and, just wow. this is amazing

  • @sefalous
    @sefalous 3 года назад +6

    For the reactions issue, there's a pretty easy fix. instead of sending multiple messages, have it edit a single message for the game each time it updates and then remove the user's reaction so they can quickly add it back. hope this helps! you can also have it delete the user's message that tells it to move so that it's a single message and it doesn't clutter up chats

  • @fIorisss
    @fIorisss 4 года назад +10

    Underrated!
    I saw you on reddit, and thought i would check the video out, and its also amazing!

  • @b7d544
    @b7d544 3 года назад +1

    Just added this to my server...I LOVE ITTTT

  • @strawberrylemonadelioness
    @strawberrylemonadelioness 11 месяцев назад

    This game looks really fun!

  • @ZanderTheBoi
    @ZanderTheBoi 4 года назад +93

    This is underrated af.

    • @acuaro
      @acuaro 3 года назад +1

      Agreed,

    • @s4yto
      @s4yto 3 года назад

      yeah but not everyone understands coding sadly

    • @Takittack
      @Takittack 3 года назад

      Sayto its hard to understand but its fun to listen to! :D

    • @renaiky2652
      @renaiky2652 3 года назад

      this channel*

  • @-TheFacelessGamer-
    @-TheFacelessGamer- 3 года назад +10

    Me: Hears PolyMars hit 1,000 in June. Looks at sub count in August and sees he's at 31.2K
    That's crazy growth. Congrats on that many Subs!

    • @-TheFacelessGamer-
      @-TheFacelessGamer- 3 года назад

      @@luznoceda5322 OMG?? He went up like 4k in 6 days??

  • @muhammadahsan3967
    @muhammadahsan3967 3 года назад

    This game is AWESOME!!
    Make another one

  • @devtec_nl
    @devtec_nl 2 года назад

    You already hit that 100k in stead of 1k:)

  • @GMPranav
    @GMPranav 3 года назад +14

    It will be amazing if someone does chess like this. Playing chess in a discord interface is my long term dream lol.

    • @kat-oh3hx
      @kat-oh3hx 3 года назад

      there already are several chess bots like this

  • @iDontProgramInCpp
    @iDontProgramInCpp 3 года назад +5

    I love how you used 😳 as the character!

  • @itsglude
    @itsglude 3 года назад

    amazing work!

  • @kawingpoon
    @kawingpoon 3 года назад

    Just providing a suggestion here :) -- Will editing the embed message after each reaction add, then keep listening to the user's reaction add event until they finish the game or timeout be better? So then it won't have to send a new message and wait for it to add those 5 emojis again and again. And if the user wants to make the same move, they can simply undo the reaction and reaction add again to trigger the event.

  • @axlah445
    @axlah445 3 года назад +14

    I played this on my grandma's old phone back then,
    Was actually interesting.

  • @doaanassar2030
    @doaanassar2030 3 года назад +19

    Dude I just found his channel this dude is so damn smart-
    Edit: u just got a new subscriber *I'm gonna enjoy this channel*

  • @Strawberry-xt1tx
    @Strawberry-xt1tx Год назад

    really good idea, Iliked your vids you have arened another sub good work

  • @Asonyx
    @Asonyx 3 года назад +1

    For the reactions wich add slowly, I think you can try to replace the ".queue()" at the end of line of the add reaction method by ".complete()", ".complete()" have more priority than ".queue()"

  • @TommyW
    @TommyW 3 года назад +90

    You should just edit the message, the reactions will stay.

    • @di5963
      @di5963 3 года назад +1

      Then there would be a problem with going twice in the same direction

    • @TommyW
      @TommyW 3 года назад

      @@di5963 uh how

    • @di5963
      @di5963 3 года назад +4

      @@TommyW since the reactions stay, when you click on the same reaction the number will go down instead of up

    • @Jimbo-de7ww
      @Jimbo-de7ww 3 года назад +2

      @@di5963 You double click it.

    • @myrech
      @myrech 3 года назад +13

      @@di5963 you can make it so that when the reaction is updated by the account its mapped to, the bot will work. You don't need to add the reaction.

  • @ysplix720
    @ysplix720 3 года назад +23

    4:08 *and thats how the coronavirus started*

  • @pr0phecy2204
    @pr0phecy2204 2 года назад

    0:46 Thanks for the message thats really sweet :D

  • @austin3005
    @austin3005 3 года назад

    okay this game is awesome thank you

  • @TeddyHartling
    @TeddyHartling 3 года назад +5

    For the reaction commands a “fix” would be editing the message instead of sending a new one. This will keep the reactions. Then after each click or reaction then removing that reaction.

  • @c3lest322
    @c3lest322 3 года назад +10

    Other: unity
    Poly: *d i s c o r d*

  • @xLegendMC
    @xLegendMC 3 года назад

    Extremely Pog! Underrated

  • @NoahFarber
    @NoahFarber 8 месяцев назад +1

    Lol the intro on this hittin

  • @a7u412
    @a7u412 4 года назад +3

    Saw this on reddit. Nice work man!

  • @zawo
    @zawo 4 года назад +10

    scratch < unreal < godot < unity < discord

  • @thegamer-gz5cr
    @thegamer-gz5cr 2 года назад

    This seems like a nice video.
    I’m also starting in AP Computer Science.

  • @kirdow
    @kirdow 3 года назад

    8:17 - I happened to notice you're not taking advantage of the diamond operator introduced way back in JDK 7.
    That is rather than creating generic instances like this, as you're currently doing:
    HashMap games = new HashMap();
    Why not let Java imply the type using diamond operator, which is some situations could even save you from capture related issues? It pretty much looks like this:
    HashMap games = new HashMap();
    Other than that, really great video, you just gained a sub. Will definitely check out your other content and I look forward to what you'll bring in the future.

  • @marseele6683
    @marseele6683 3 года назад +6

    You can edit the current embed instead of sending a new one every time you make a move. I think that'd look much cleaner.

    • @jt8821
      @jt8821 3 года назад

      That would also eliminate the issue of it needing to send new reacts it should instead remove the users old react when it updates.

  • @camidavis1335
    @camidavis1335 4 года назад +5

    Wow this amazing this inspired me to start coding my own bot thanks a bunch 💖

  • @UpsTubeTheYouTuber
    @UpsTubeTheYouTuber 2 года назад

    Scratch: *exists*
    PolyMars: i’ll pretend i didn’t see that

  • @4l3rt36
    @4l3rt36 3 года назад

    My friend put ur bot in like yesterday and it is now the most popular bot in his server XD