Skip to content

guto-alves/naruto-game

Repository files navigation

Logo

Naruto Game

In the game, you'll be a ninja and your mission is to develop your skills and chart your own ninja path to becoming a Kage!

Table of contents

Screenshots

Disclaimer

Naruto Game is a game developed by fans for fans (completely free), where players choose from some of the most attractive manga/anime characters to participate online in Naruto RPG adventures with your friends.
Original characters and illustrations © Copyright 2002 by Masashi Kishimoto. All rights reserved

Contributing

Any contributions to this repository are most welcome.

Running locally

Prerequires

The following items should be installed in your system:

And you also should have a Firebase Account (https://firebase.google.com)

Steps

  1. On the command line
    git clone https://github.com/guto-alves/naruto-game.git
    
  2. Open the Project in Android Studio

  3. Preparing Firebase

    • Access the Firebase Console and create a new Project. Add it to the cloned Android application. The most important steps in this case to add Firebase to your Android app are the steps Register app and Download config file (google-services.json) because the Firebase SDK and its dependencies have already been added to the build.gradle , if you want, you can just confirm by looking in the build.gradle files.

    • Now still on the Firebase Console, you need to configure:

      1. Realtime Database - Create the Realtime Database and configure it to start in test mode rules. Then, initialize the database with the game status (download docs/game-status.json) and import it into the Realtime Database).

      2. Authentication - All you need to do here is to enable the sign-in providers Email/Password and Google, as in the image below:


      3. Storage - Download the folder with the images (https://drive.google.com/file/d/1i7o7a620M310YTJdeCg9ndLVCm9KdZhL/view?usp=sharing) and upload it to Firebase Storage. The structure of the folders in the Storage must be the same as the downloaded folder or you will need to change the methods of the StorageUtils class to match the paths of the images.


  4. That's all. With your emulator or real device connected, just run it.

License

This project is licensed under the MIT License - see the LICENSE file for details.