How We Built Real Brave ๐Learn Tech with Ryan & Richard
๐ Tap ๐ on any bubble to hear it read aloud โ or press the button to listen to the whole story!
๐ The Story Begins
๐งโ๐ป
Ryan Brito ยท Age 15
Hey Richard! Ready to tell everyone how we actually built Real Brave? I think kids would love to know the real story behind it.
๐พ
Richard Bryan ยท Age 12
Absolutely Ryan! It's actually a great story. Two kids, a laptop, and a big idea โ and now it's a real live game platform! Let's start from the very beginning.
๐ HTML โ Building Webpages
๐พ
Richard Bryan
The very first thing we learned was HTML โ HyperText Markup Language. HTML is like the skeleton of a webpage. Every heading, every paragraph, every button you see on a website? That's HTML doing the work!
HTMLCSSJavaScript
๐งโ๐ป
Ryan Brito
And we pair HTML with CSS โ Cascading Style Sheets โ that's what makes everything look pretty! Colours, fonts, rounded corners, the dark background you see right now โ all CSS. Then JavaScript makes it move and respond when you click things.
๐พ
Richard Bryan
๐ก Fun Fact! Every game on Real Brave โ every scoreboard, every button โ was made with just HTML, CSS, and JavaScript. No special app download needed. Just open a link in your browser!
๐งโ๐ป
Ryan Brito
The 3D worlds inside the games use a library called Three.js โ it's JavaScript that draws 3D graphics right inside the browser. So when you walk around in Real Brave, that's Three.js drawing every tree, road, and building in real time!
โ๏ธ Node.js โ The Server Brain
๐งโ๐ป
Ryan Brito
So HTML and JavaScript run inside your browser โ on your own computer. But we also needed a brain running on a server somewhere. That's where Node.js comes in!
Node.js
๐พ
Richard Bryan
Node.js lets you run JavaScript on a server โ not just in a browser! Think of it like this:
๐ฅ๏ธ Your browser = the TV screen showing the game โ๏ธ Node.js = the game console in the back โ keeping score, remembering who you are, and connecting everyone together
๐งโ๐ป
Ryan Brito
Our Node.js server handles logins, hero profiles, leaderboards, multiplayer rooms, and chat โ all in one. The best part? We use the same programming language โ JavaScript โ on both the front end and the back end. So we only needed to learn one language!
๐ก WebSockets โ Talking in Real Time
๐พ
Richard Bryan
Here's something super cool โ how do players see each other moving in real time? Normal websites ask the server a question and wait for an answer, then the connection closes. But that's way too slow for a game!
๐งโ๐ป
Ryan Brito
That's what WebSockets solve! A WebSocket is like a phone call that never hangs up. Once your browser connects to our server, the line stays open. The server can push updates to you instantly โ like where other players are โ without you having to ask every time.
WebSocket
๐พ
Richard Bryan
โก Wow Fact! When you see another player move in Real Brave, that movement travelled from their browser โ up to our AWS server โ back down to your browser โ in less than one tenth of a second. That's faster than a blink! ๐๏ธ
โ๏ธ AWS โ Our Cloud Computer
๐งโ๐ป
Ryan Brito
Now here's a big question โ where does our game server actually live? It's not on my laptop at home! We use AWS โ Amazon Web Services โ which is a cloud server.
AWS EC2Cloud
๐พ
Richard Bryan
A cloud server is just a powerful computer inside a big building called a data centre โ owned by Amazon. Instead of buying one, we rent it. It runs our Node.js game server 24 hours a day, 7 days a week. Even when we're asleep, the server is on!
๐ข AWS EC2 stands for Elastic Compute Cloud. "Elastic" means you can make it bigger or smaller anytime, just like stretching elastic! Amazon has data centres all around the world.
๐งโ๐ป
Ryan Brito
We installed Ubuntu Linux on our cloud server โ Linux is a free operating system that runs most of the internet. Then we put Apache on top, which is a web server that handles HTTPS โ the secure padlock ๐ you see in your browser โ and directs visitors to the right place.
๐ค AI โ Our Smart Helper
๐พ
Richard Bryan
Now the most exciting part โ we used Artificial Intelligence, or AI, while building this platform. AI is software that can understand language, reason about problems, and even help write code!
AIClaudeLLM
๐งโ๐ป
Ryan Brito
We used an AI called Claude, made by a company called Anthropic. Think of Claude like a super smart study buddy. We describe a problem, and Claude helps us think through the solution. We still write the code and make every decision โ Claude just helps us learn and go faster.
๐พ
Richard Bryan
AI is not magic though! It's a special type of computer program trained on billions of words and code examples. It's called a Large Language Model โ or LLM. It's really good at language โ explaining, summarising, and writing. But it can still make mistakes, so you always check its work!
๐ค Think About It: AI is a tool โ like a calculator. A calculator helps you do maths faster, but you still need to understand the maths. AI helps you code faster, but you still need to understand what you're building!
๐งโ๐ป
Ryan Brito
The really cool thing is that AI is going to be a huge part of every career in the future โ doctors, teachers, engineers, artists. Learning to work with AI now, while you're young, gives you a massive head start! ๐
๐บ๏ธ OpenStreetMap โ Real World Roads
๐พ
Richard Bryan
Here's something that blew my mind when we first used it โ the race tracks in Brave Racers are based on real city roads! We use a free map database called OpenStreetMap.
๐งโ๐ป
Ryan Brito
OpenStreetMap is like Wikipedia but for maps. Millions of volunteers around the world add roads, buildings, and places. It's completely free to use. So when you race in Brave Racers, you're driving on actual real-world street layouts from real cities!
๐ Real World Learning: Real Brave uses OpenStreetMap so players learn real place names, real road layouts, and real geography โ while having fun!
โญ The Full Stack โ Everything We Used
๐งโ๐ป
Ryan Brito
So here's the complete list of everything we used to build Real Brave:
HTML / CSS / JSThree.jsNode.jsWebSocketsAWS EC2ApacheAI โ ClaudeOpenStreetMap
๐พ
Richard Bryan
And the most important thing โ Ryan is 15 and I'm 12. We are kids, just like you. If we can build a real multiplayer game platform with cloud servers and AI, so can you.
๐ Start Here: 1๏ธโฃ Learn HTML first โ it's the easiest start 2๏ธโฃ Then add CSS to make things look great 3๏ธโฃ Then JavaScript to make things interactive 4๏ธโฃ Then Node.js for servers 5๏ธโฃ Then cloud + AI โ you'll be building platforms too!
๐งโ๐ป
Ryan Brito
The portal is live right now at games.hi4.in. Jump in, pick a game, make a hero profile, and play! See you in the arena! ๐โ๏ธ
๐ฎ Ready to Play?
Ryan and Richard built this entire platform โ HTML, Node.js, WebSockets, AWS, AI and all. Jump in and see it for yourself. It's free!