BrainWars - Unleashing the Power Within - Appwrite x Hashnode Hackathon

BrainWars - Unleashing the Power Within - Appwrite x Hashnode Hackathon

Mastering the Battlefield of the Mind to Achieve Cognitive Excellence

A heartfelt thank you to Appwrite and Hashnode for the invaluable opportunity they have given.

#AppwriteHackathon #appwrite

Brainwars: Appwrite Hashnode Hackathon

👨‍💻 Team Details

  • Developed by: Navdeep Mishra

📃Project Description

  • Motivation - Many of us have enjoyed playing popular multiplayer games on our mobiles and PCs, and I am one of those avid multiplayer game enthusiasts. As a developer, I have always had the desire to create my own multiplayer game. Upon hearing about Appwrite from friends and tech YouTubers, I became intrigued and eager to incorporate it into my game development journey. Recently, while browsing the web, I stumbled upon a hackathon announcement, and I immediately recognized it as the perfect opportunity to pursue my dream of creating a game using the Appwrite platform. And thus, my exciting journey began.

  • Description - Brainwars is an immersive and captivating single and multiplayer game designed to challenge and stimulate the mind. With cognitive exercises, players are taken on a journey to unlock their full mental potential.

    In the single-player mode, players can embark on a personalized training program tailored to their specific cognitive needs. By playing they can improve their problem-solving skills and overall mental agility.

    The multiplayer mode takes Brainwars to a whole new level of excitement, allowing players to compete head-to-head with friends. Engaging in real-time battles, they can put their skills to outsmart their opponents in thrilling mind-to-mind showdowns.

    With its visually stunning graphics, game sound effects and intuitive gameplay Brainwars offers an exhilarating and educational gaming experience that both entertains and enhances mental capabilities. Get ready to embark on a captivating journey where wit, speed, focus and adaptability are the keys to victory!

    I have used Appwrite's 4 core features in this project. Realtime, Databases, Cloud functions, Storage. Appwrite's real-time functionality was so easy to implement that I was surprised when I used that.

    Here are a few screenshots of the game

    Welcome Screen

Create Room Screen

Join Room Screen

Pick your game screen

Countdown timer screen

Maths challenge screen

Single player scores screen

Multiplayer Screenshots

Start Timer screen

Maths Challenge Game Screen (In Multiplayer)

After Game Screen - (When other players are playing)

After Game Screen - (When all players completed the game)

⚙️ Tech Stack

  • 💻 Frontend

    • Next.js, React.js, MUI aka (Material Ui)
  • 🌐 Backend

    • Appwrite Cloud

      • Appwrite Databases

      • Appwrite Storage

      • Appwrite Realtime

      • Appwrite Functions

  • 💫 Deployment & CI / CD

    • Vercel

💪 Challenges Faced

  • As a full-stack developer learning new things is never a pain point. Learning Appwrite is smooth but the challenge I faced was working with NoSQL DB's first time.

    I always used Postgress, and MySql in my workflow and suddenly jumping to NoSql is something you have to learn. It was a challenge for me to work with I always liked the relational tables (Although the Appwrite Relations feature is coming I guess) in DB but as a developer, we have to be adaptive and I started learning the basics of NoSQL DB and started using Appwrite DB. Also, I was missing joins features in DB but I managed to work without that and achieved a similar functionality. Also biggest challenge is that I am unable to post the article. My post is continuously getting deleted from Hashnode Itself. I talked to support they said there is an issue going on. I already posted 4 articles and same happened with all. This is my first one. Support told me to delete all duplicates and have only one. That's now this is the only article I have and I hope this issue got fixed and my article also got considered.

🔗Public Code Repo

🤔What's next?

Appwrite's real-time functionality and cloud function deployment easiness is good. Will do something interesting in the upcoming days with that. Will keep you all updated in Hashnode. 😉

#appwrite #appwriteHackathon #Appwrite #AppwriteHackathon