GithubHelp home page GithubHelp logo

marceluphd / bingo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from harsh2098/bingo

0.0 1.0 0.0 1.52 MB

Bingo : Android Multiplayer Game (GRPC + Protobuf) 50k+ lines of code.

Home Page: https://play.google.com/store/apps/details?id=com.hmproductions.bingo

Java 72.16% Kotlin 27.84%

bingo's Introduction

Bingo

Bingo : A 5 Way Game - Android Multiplayer Game

Technologies Used: GRPC + Protocol Buffers, Firebase (In-game Chat), Google Cloud (Hosting Server)

Languages: Kotlin, Java, XML, Protobuf

Detailed Explanation:- https://www.youtube.com/watch?v=1NAUuKmal1A&t=

There are 2 modules app (Android App) and server module. Server is hosted on GCP - Google Cloud Platform

To generate java classes (files) for example BingoActionServiceImplBase,

  1. You need to define proto files in src/main/proto
  2. Configure gradle files and add necessary proto compiler plugins
  3. Then, rebuild the project and newly generated files should appear in build/generated/source/proto folder within each module

Don't forget to specify source set {...} in gradle files so that Android Studio knows where to look for generated files.

Demo repo link:- https://github.com/Harsh2098/Android-Multiplayer-Tutorial

Learn how to write .proto files:- https://developers.google.com/protocol-buffers/docs/proto3

You'll need to remove debug.java... in app level gradle file to generate signed APKs

Bingo: 5 Line Game Play Store Link:- https://play.google.com/store/apps/details?id=com.hmproductions.bingo

I couldn't find any good resources to start with GRPC on Android, even docs are not that great. I made Youtube video (linked above) to help others.

bingo's People

Contributors

harsh2098 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.