Giter VIP home page Giter VIP logo

desktop-mobilegame_v2's Introduction

Godot CI Android CI

Steps to compile and run

  • Mobile App
    • Windows:
      • Open Powershell in the SCCoPilotApp directory
      • run gradle.bat build
    • Linux and MacOS
      • Open terminal in the SCCoPilotApp directory
      • run ./gradlew build
    • Generated builds are located in SCCoPilotApp/build/outputs/apk/
  • Server
    • Scoreboard Server:
      • Run python scoreboard_server.py from the ScoreBoardServer directory
    • Websocket/Relay Server:
      • Build following instructions in the README.md contained in the Relay folder.
      • Run the executable with --help for command line options
  • Game
    • Open the project.godot in Godot
    • Go to Project -> Export -> Select your desired target system
    • Press "Export Project" and then "Save" on the next screen
    • Generated builds will be wherever you saved it.

Required Linting Tools

  • Godot

  • Android Studio

    • Use the provided linting and code formatting tools.
    • To autoformat code right click on the project -> Reformat code
  • Python Project

    • Use pep8 in PyCharm or similar.

Steps to run Tests

  • Mobile App
    • Open and build SCCoPilotApp in Android Studio
    • Ensure that an emulator or physical device is set up with the IDE to run the tests
    • Navigate to the Terminal at the bottom of the screen
    • run ./gradlew connectedAndroidTest
    • This will output results to a text file, instructions for accessing it within the IDE will be displayed upon completion

Amazon DynamoDB Integration Setup Instructions

  • Sign up for Amazon AWS. AWS Signup Page
  • Create an administrator IAM User. IAM User Guide
  • Create an access key for the administrator User. Credentials Guide
  • Download and install AWS CLI. CLI Guide
  • In a terminal window, run aws configure. Enter your AWS Access Key ID, AWS Secret Access Key, default region name, and default output format when prompted.
  • Run the following command to create the DynamoDB database table for storing game scores:
aws dynamodb create-table \
    --table-name Scores \
    --attribute-definitions \
        AttributeName=username,AttributeType=S \
        AttributeName=datetime,AttributeType=N \
    --key-schema \
        AttributeName=username,KeyType=HASH \
        AttributeName=datetime,KeyType=RANGE \
--provisioned-throughput \
        ReadCapacityUnits=10,WriteCapacityUnits=10
  • Run python -m pip install boto3 to install the Amazon AWS boto3 Python module.
  • Run python3 scoreboard_server.py to start the Scoreboard Server.

Relay Server Setup instructions

  • Run executable
  • Pass --help for more information

desktop-mobilegame_v2's People

Contributors

stripedmonkey avatar gregriff avatar rbf4504 avatar tomawezome avatar ktb7890 avatar github-classroom[bot] avatar

Watchers

 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.