I Made Snake With 30,000 Players

552,196
0
Published 2020-11-19
I challenged myself to make a game using Twitter's Bot API. I ended up creating a clone of Snake, an arcade game where navigate around your tail to eat apples, that is played entirely through Twitter with likes and retweets! Every 30 minutes, the bot checks the amount of likes and retweets on the latest tweet, and turns the snake clockwise or counterclockwise based on which count is higher.

Check out Twitter Plays Snake here: twitter.com/SnakeGameBot
→ Join the PolySpace Discord: discord.gg/sGecnxuwxu

--Chapters--

0:00 Intro
0:48 Core
2:19 Twitter Bot Basics
3:07 Snake Basics
3:56 Finishing Snake
5:33 Improving the Bot
5:56 Running the Bot
6:12 The Snake Community
6:52 Conclusion

--Resources/libraries used--

Twitter4J
twitter4j.org/en/

How To Make a Scary Russian Twitter Bot With Java - Martin Erlic
medium.com/@SeloSlav/how-to-make-a-scary-russian-t…

Snake fancam - @c00kiecache
twitter.com/c00kiecache/status/1326250132480921601

--Music--

"Street Brawlin'" - Adam Haynes (   • Original 16-Bit Game Music (Sega Mega...  )
"Rocket" - Kevin Macleod (incompetech.com/)
"Wallpaper" - Kevin Macleod (incompetech.com/)
"Cyborg Ninja" - Kevin Macleod (incompetech.com/)
"Getting it Done" - Kevin Macleod (incompetech.com/)
"EDM Detection Mode" - Kevin Macleod (incompetech.com/)
"Amazing Plan" - Kevin Macleod (incompetech.com/)
"Robobozo" - Kevin Macleod (incompetech.com/)
"Operatic 3" - Vibe Mountain (   • 🎵 Operatic 3 - Vibe Mountain 🎧 No Cop...  )

--If you liked this video, here are similar ones you might enjoy!--

CS Dojo - How To Create A Twitter Bot With Python | Build a Startup #4
   • How To Create A Twitter Bot With Pyth...  
PolyMars - Making a Game Using Discord's Bot API
   • Making a Game With Discord's Bot API  
Michael Reeves - I Let a Twitter Bot Decorate My Room
   • I Let a Twitter Bot Decorate My Room  
Dani - I Let Twitter Make a Game... (and it's really weird)
   • I Let Twitter Make a Game... (and it'...  
Dani - I Made Among Us, but it's 3D
   • I Made Among Us, but it's 3D  
Fat Dino - I Made Among Us and it will DESTROY your PC
   • I Made Among Us, but it's 3D  
Randall - Programming a New Physics Engine for my Game
   • Programming a new physics engine for ...  
PolyMars - Learning SDL2 in 48 Hours - GMTK Game Jam 2020
   • Learning SDL2 in 48 Hours - GMTK Game...  
PolyMars - Making a Game for FIVE Different Consoles - Ludum Dare 46
   • I Made the Same Game for 5 Consoles  

All Comments (21)
  • @SamHogan
    Oh man using retweets as a way to vote is pretty genius
  • @supahstarclod
    I can't believe this gave birth to an entire community. It's a simple concept that really adapts itself well to Twitter interactions and my GOD it's been one wild ride.
  • @carykh
    i love how emojis have become the universal monospace font of the Internet. It's so clean, colorful, and fun!
  • @4nyNoob
    i've felt so much anger when people INTENTIONALLY KILLED THE SNAKE, it was a terrible experience watching our progress being destroyed by some "haha i'm a funny boi, gonna kill da snak" but i'm so filled with determination and excited to destroy these people by making the snake live and eat apples, best thing that ever existed on twitter so far
  • @ChristopherMoom
    Trying to get a tie on the Snake Bot is one of the most nerve-wracking parts of the game and somehow creates an INSANE amount of discourse over Snake of all things People have built cults over whether or not to kill the snake and I've just been in the 3rd party that's been observing for entertainment
  • @jayl.6998
    ok but THAT ADORABLE SNEK IN THE INTRO THOOO??
  • @WeegeepieYT
    I literally have the same computer tower as you 😳🟨🟨🟨
  • @infinityguyyt
    after pisces i gave up, people trying to ruin it for everyone just isn't a game for me. i will say it was fun while it lasted.
  • @PieMan12
    It's been really fun playing, and almost getting a max score to boot. Thanks for keeping this thing updated, you've been great!
  • @BenBonk
    Now make a bot using the YouTube api that functions off subs and likes. EZ Clap.
  • @uberdawn
    Can’t believe this is turning a year old this month. I can’t say it enough, but this has been one of the best experiences I’ve had. Thanks for making it, PolyMars!
  • @kiracchi9
    I fear no man but that thing ⬛⬛ 🍎⬛ * Corner apples * It scares me
  • @LargoAnimations
    Been watching the Snake bot since 53 followers! Im glad it got you more attention on twitter and that so many people enjoyed it, it's incredibly fun to see people come together and strategize like this. Hoping this benefits your future immensely!
  • @Povilaz
    At first this bot was fun and then later on it just got annoying - spamming my tl. I love it.
  • this snake bot has been a major entertainment source for me and my friends for a few days now, I'm glad to see it's so popular !! thank you for putting all the time and effort that you have into it, you rlly have brightened a lot of ppl's days :D
  • @ben-brady
    6:00 You could try running the bot on a free AWS instance, they're okay for lightweight programs I use it for my discord bots and get at most 10% cpu usage.
  • @crowzzguts6051
    Vexx here, Poly you brought twitter together in a way I never expected. Absolutely beautiful
  • @ZakkiRei
    SALUTE 6x6 RECORD. THE PISCES STRAT SERVED US WELL, YET NOT ENOUGH TO WIN OUR UTMOST GLORY. LIVE ON, SNAKE