Lädt...

🔧 DashBot: 1v1 Space Robot Sprint Battle


Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: dev.to

This is a submission for the Alibaba Cloud Challenge: Build a Web Game.

What I Built

I built DashBot, a 1v1 space robot sprint battle game where players can't walk, only dash forward by jetting out "waste code" to move and attack. just for fun haha^ ^

Basic rule: charge, dash, knock out, or get knocked out. Watch out for shrinking space and bouncing walls — they can save you or throw you off.

Demo

Play here: Online demo

Source Code: https://github.com/jianongHe/DashBot

Screenshot

Alibaba Cloud Services Implementation

  • Elastic Compute Service (ECS)

    Used for hosting the WebSocket server that handles real-time matchmaking, player sync, and battle logic. ECS gave me full control over networking, which was essential for low-latency gameplay.

  • Object Storage Service (OSS)

    All static assets like images, sounds, and frontend code are hosted here. Uploading was fast, and it served global users reliably.

  • Content Delivery Network (CDN)

    Accelerated asset delivery from OSS, especially helpful for players outside China. Made loading times much faster.

  • Alibaba Cloud Container Registry (ACR)

    Used to store Docker images for my backend services. It helped me manage builds more efficiently.

Game Development Highlights

  • Dashed by trashy code snippets, just for fun.
  • Real-Time Multiplayer: WebSocket-powered 1v1 matches.
  • Built in 1 Week: Fast dev with strong support from Alibaba Cloud.
  • Physics Collisions: Charge strength affects damage and knockback.
  • Inspired by BattleBots: Focused on chaotic clashes with simple charge-and-dash controls.
  • Theme Colors: Based on Evangelion Unit-01—purple and green for a sci-fi vibe.

Problems I Ran Into:

  • Ghost Collision Issue: Sometimes two players would overlap due to server delay, making collisions feel "soft" or unresponsive. Fixed by tweaking the sync rate and improving client-side prediction.

  • High Refresh Rate Drift: On Windows with high refresh monitors, physics started breaking. Solved by forcing frame sync.

  • Lag and Desync: Classic network game problems—adjusted tick rates, interpolation, and still had weird bugs.

  • Collision Bugs: After dashing into each other, sometimes unexpected stuff happened. Honestly, I just skipped a frame to patch it ( ̄▽ ̄)

AI Help:

I used ChatGPT/Gemini/Grok/v0.dev during development. It helped a lot by generating usable code quickly, though many parts still needed manual fine-tuning.

P.S.

This was my first time making a real-time multiplayer game, and it was tough but fun. I learned a lot about networking, sync issues, and how chaotic robot battles can be.

I discovered this challenge only one week before the deadline. It was tough to pull off, but I already had the idea in mind and managed to bring it to life. There’s still room for improvement, and I tried to polish it as much as I could within the limited time.

Thanks for checking out DashBot!

...

🔧 DashBot: 1v1 Space Robot Sprint Battle


📈 106.92 Punkte
🔧 Programmierung

📰 Project 1v1: Gearbox arbeitet an Shooter plus Sammelkarten


📈 27.74 Punkte
📰 IT Nachrichten

📰 Project 1v1: Neuer First-Person-Shooter-Hybrid von Gearbox angekündigt


📈 27.74 Punkte
📰 IT Nachrichten

🐧 Completely ridiculous online 1v1 shooter STRAFTAT added a Linux version


📈 27.74 Punkte
🐧 Linux Tipps

🔧 How to Build a 1v1 Video Thai Chat Rooms for Teens


📈 27.74 Punkte
🔧 Programmierung

🍏 Modo 16.1v1 - 3D Modeling, Paint and Render in one application.


📈 27.74 Punkte
🍏 iOS / Mac OS

📰 1v1.lol Unblocked – Unblock Gaming Website [2023]


📈 27.74 Punkte
Web Tipps

📰 1v1 LoL Best Settings | Keyboard, Controller and Mobile


📈 27.74 Punkte
📰 IT Security Nachrichten

🐧 How To Play 1v1 Matches In Call Of Duty Mobile (2021)


📈 27.74 Punkte
🐧 Linux Tipps

🐧 How To Play 1v1 Matches In Call Of Duty Mobile (2021)


📈 27.74 Punkte
🐧 Linux Tipps

🐧 Call of Duty Mobile ‘Saloon’ Map & ‘1v1 Duel’ Mode To Arrive On May 15


📈 27.74 Punkte
🐧 Linux Tipps

📰 The Court Let T-Mobile Buy Sprint Because Sprint Completely Sucks


📈 27.09 Punkte
📰 IT Security Nachrichten

📰 Bipedal Robot Sets Guinness World Record For Robotic 100-Meter Sprint


📈 22.4 Punkte
📰 IT Security Nachrichten

📰 Halo Infinite: Big Team Battle 2.0 statt Battle Royale


📈 18.35 Punkte
📰 IT Nachrichten

📰 Pac-Man Mega Tunnel Battle: Battle-Royale-Multiplayer für 64 Spieler exklusiv auf Stadia


📈 18.35 Punkte
📰 IT Nachrichten

📰 Battle.net heißt jetzt doch wieder oder noch immer Battle.net


📈 18.35 Punkte
📰 IT Security Nachrichten

🎥 Inside China's Futuristic Autonomous Robot Battle, RoboMasters by DJI


📈 18.03 Punkte
🎥 Künstliche Intelligenz Videos

📰 Robot see, robot do: System learns after watching how-to videos


📈 17.71 Punkte
🔧 AI Nachrichten

🍏 SwitchBot Mini Robot Vacuum K10+ review: Small, but helpful, robot vacuum with incoming Matter support


📈 17.71 Punkte
🍏 iOS / Mac OS

🎥 New AI Robot Girlfriend ARIA Is The First Humanoid Robot To Do This ($175,000 COMPANION)


📈 17.71 Punkte
🎥 IT Security Video

📰 Google's DeepMind Unveils Safer Robot Advances With 'Robot Constitution'


📈 17.71 Punkte
📰 IT Security Nachrichten

🎥 New AI Robot Girlfriend ARIA Is The First Humanoid Robot To Do This ($175,000 COMPANION)


📈 17.71 Punkte
🎥 IT Security Video

🎥 Disneys NEW INSANE JUDY ROBOT SHOCKS The Entire Industry! (AI ROBOT ANNOUNCED!)


📈 17.71 Punkte
🎥 Künstliche Intelligenz Videos

📰 ARMADA: Augmented Reality for Robot Manipulation and Robot-Free Data Acquisition


📈 17.71 Punkte
🔧 AI Nachrichten

🎥 New AI Humanoid Robot Tech At 2022 World Robot Conference


📈 17.71 Punkte
🎥 Künstliche Intelligenz Videos

📰 Mr. Robot rezensiert: Domo Arigato, Mr. Robot!


📈 17.71 Punkte
📰 IT Security Nachrichten

🎥 China STUNS Tesla With NEW Humanoid Robot! (Xpeng Humanoid Robot)


📈 17.71 Punkte
🎥 Künstliche Intelligenz Videos

📰 World's First Robot Hotel Fires Half of Its Robot Staff


📈 17.71 Punkte
📰 IT Security Nachrichten

🎥 This New Humanoid Robot Plays SOCCER! (Booster T1 Humanoid Robot)


📈 17.71 Punkte
🎥 Künstliche Intelligenz Videos