Giter Club home page Giter Club logo

tubes1_entegoalkiperpalingbaikdidunia's Introduction

Tubes1_EnteGoalKiperPalingBaikDiDunia

🌌 Galaxio Bot with Greedy Algorithm 🌌


To watch the live demo of the program here.

Table of Contents

  1. General Info
  2. Creator Info
  3. Features
  4. Technologies Used
  5. Setup
  6. Usage
  7. Screenshots
  8. Structure
  9. Project Status
  10. Room for Improvement
  11. Acknowledgements
  12. Contact

General Information

A simple Galaxio Bot with Greedy Algorithm. A greedy algorithm is a method for solving optimization problems by making the locally choice at each step with the hope of finding a global optimum. In this project, the greedy algorithm is applied to solve a particular problem that Galaxio Bot was designed for. This project is made for the Tubes 1 of IF2211 - Strategi Algoritma course in ITB.

Creator Information

Nama NIM E-Mail
Saddam Annais Shaquille 13521121 [email protected]
M. Dimas Sakti Widyatmaja 13521160 [email protected]
Mohammad Rifqi Farhansyah 13521166 [email protected]

Features

  • The Galaxio Bot can solve the problem of finding the best path to the goal (win the game).

Technologies Used

  • Java - version 11
  • IntelliJ IDEA - version 2022.2.2
  • NodeJS - version 18
  • .Net Core - version 3.1
  • Maven - version 3.9.0

Note: The version of the libraries above is the version that we used in this project. You can use the latest version of the libraries.

Setup

  1. Download all the required libraries.
  2. Open the project in IntelliJ IDEA.
  3. Run the project.

Usage

  1. Clone this repository
git clone https://github.com/rifqifarhansyah/Tubes1_EnteGoalKiperPalingBaikDiDunia.git
  1. Open the file directory
cd Tubes1_EnteGoalKiperPalingBaikDiDunia
  1. Go to the target directory that contains the java compiled file
cd target
  1. Run the java file
java -jar EnteGoalKiperPalingBaikDiDunia.jar

Screenshots

Figure 1. Launch Torpedo (Attack Phase)

Figure 2. Torpedo was Successfully Landed

Figure 3. Launch Teleporter (Attack Phase)

Figure 4. Teleporter was Successfully Landed

Figure 5. Shield Activated (Defence Phase)

Figure 6. Catch Food (Default Phase)

Structure

β”‚   .gitignore
β”‚   Dockerfile
β”‚   pom.xml
β”‚   README.md
β”‚
β”œβ”€β”€β”€.vscode
β”‚       settings.json
β”‚
β”œβ”€β”€β”€doc
β”‚       Get Started Galaxio.pdf
β”‚       Tugas Besar 1 IF2211 Strategi Algoritma 2023.pdf
β”‚
β”œβ”€β”€β”€image
β”‚       Default.png
β”‚       Shield.png
β”‚       Teleport1.png
β”‚       Teleport2.png
β”‚       Torpedo1.png
β”‚       Torpedo2.png
β”‚
β”œβ”€β”€β”€src
β”‚   └───JavaBot
β”‚       β”‚   Dockerfile
β”‚       β”‚   pom.xml
β”‚       β”‚
β”‚       β”œβ”€β”€β”€.github
β”‚       β”‚   └───workflows
β”‚       β”‚           .gitkeep
β”‚       β”‚
β”‚       β”œβ”€β”€β”€src
β”‚       β”‚   └───main
β”‚       β”‚       └───java
β”‚       β”‚           β”‚   Main.java
β”‚       β”‚           β”‚
β”‚       β”‚           β”œβ”€β”€β”€Enums
β”‚       β”‚           β”‚       Effects.java
β”‚       β”‚           β”‚       ObjectTypes.java
β”‚       β”‚           β”‚       PlayerActions.java
β”‚       β”‚           β”‚
β”‚       β”‚           β”œβ”€β”€β”€Models
β”‚       β”‚           β”‚       GameObject.java
β”‚       β”‚           β”‚       GameState.java
β”‚       β”‚           β”‚       GameStateDto.java
β”‚       β”‚           β”‚       PlayerAction.java
β”‚       β”‚           β”‚       Position.java
β”‚       β”‚           β”‚       World.java
β”‚       β”‚           β”‚
β”‚       β”‚           └───Services
β”‚       β”‚                   BotService.java
β”‚       β”‚                   GreedyCommand.java
β”‚       β”‚                   Radar.java
β”‚       β”‚
β”‚       └───target
β”‚           β”‚   JavaBot.jar
β”‚           β”‚
β”‚           β”œβ”€β”€β”€classes
β”‚           β”‚   β”‚   Main.class
β”‚           β”‚   β”‚
β”‚           β”‚   β”œβ”€β”€β”€Enums
β”‚           β”‚   β”‚       Effects.class
β”‚           β”‚   β”‚       ObjectTypes.class
β”‚           β”‚   β”‚       PlayerActions.class
β”‚           β”‚   β”‚
β”‚           β”‚   β”œβ”€β”€β”€Models
β”‚           β”‚   β”‚       GameObject.class
β”‚           β”‚   β”‚       GameState.class
β”‚           β”‚   β”‚       GameStateDto.class
β”‚           β”‚   β”‚       PlayerAction.class
β”‚           β”‚   β”‚       Position.class
β”‚           β”‚   β”‚       World.class
β”‚           β”‚   β”‚
β”‚           β”‚   └───Services
β”‚           β”‚           BotService.class
β”‚           β”‚           GreedyCommand.class
β”‚           β”‚
β”‚           β”œβ”€β”€β”€libs
β”‚           β”‚       azure-core-1.13.0.jar
β”‚           β”‚       gson-2.8.5.jar
β”‚           β”‚       jackson-annotations-2.11.3.jar
β”‚           β”‚       jackson-core-2.11.3.jar
β”‚           β”‚       jackson-databind-2.11.3.jar
β”‚           β”‚       jackson-dataformat-xml-2.11.3.jar
β”‚           β”‚       jackson-datatype-jsr310-2.11.3.jar
β”‚           β”‚       jackson-module-jaxb-annotations-2.11.3.jar
β”‚           β”‚       jakarta.activation-api-1.2.1.jar
β”‚           β”‚       jakarta.xml.bind-api-2.3.2.jar
β”‚           β”‚       netty-tcnative-boringssl-static-2.0.35.Final.jar
β”‚           β”‚       okhttp-3.11.0.jar
β”‚           β”‚       okio-1.14.0.jar
β”‚           β”‚       reactive-streams-1.0.2.jar
β”‚           β”‚       reactor-core-3.3.12.RELEASE.jar
β”‚           β”‚       rxjava-2.2.2.jar
β”‚           β”‚       signalr-1.0.0.jar
β”‚           β”‚       slf4j-api-1.7.25.jar
β”‚           β”‚       slf4j-simple-1.7.25.jar
β”‚           β”‚       stax2-api-4.2.1.jar
β”‚           β”‚       woodstox-core-6.2.1.jar
β”‚           β”‚
β”‚           β”œβ”€β”€β”€maven-archiver
β”‚           β”‚       pom.properties
β”‚           β”‚
β”‚           └───maven-status
β”‚               └───maven-compiler-plugin
β”‚                   └───compile
β”‚                       └───default-compile
β”‚                               createdFiles.lst
β”‚                               inputFiles.lst
β”‚
└───target
    β”‚   EnteGoalKiperPalingBaikDiDunia.jar
    β”‚
    β”œβ”€β”€β”€classes
    β”‚   β”‚   Main.class
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€Enums
    β”‚   β”‚       Effects.class
    β”‚   β”‚       ObjectTypes.class
    β”‚   β”‚       PlayerActions.class
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€Models
    β”‚   β”‚       GameObject.class
    β”‚   β”‚       GameState.class
    β”‚   β”‚       GameStateDto.class
    β”‚   β”‚       PlayerAction.class
    β”‚   β”‚       Position.class
    β”‚   β”‚       World.class
    β”‚   β”‚
    β”‚   └───Services
    β”‚           BotService.class
    β”‚           GreedyCommand.class
    β”‚
    β”œβ”€β”€β”€libs
    β”‚       azure-core-1.13.0.jar
    β”‚       gson-2.8.5.jar
    β”‚       jackson-annotations-2.11.3.jar
    β”‚       jackson-core-2.11.3.jar
    β”‚       jackson-databind-2.11.3.jar
    β”‚       jackson-dataformat-xml-2.11.3.jar
    β”‚       jackson-datatype-jsr310-2.11.3.jar
    β”‚       jackson-module-jaxb-annotations-2.11.3.jar
    β”‚       jakarta.activation-api-1.2.1.jar
    β”‚       jakarta.xml.bind-api-2.3.2.jar
    β”‚       netty-tcnative-boringssl-static-2.0.35.Final.jar
    β”‚       okhttp-3.11.0.jar
    β”‚       okio-1.14.0.jar
    β”‚       reactive-streams-1.0.2.jar
    β”‚       reactor-core-3.3.12.RELEASE.jar
    β”‚       rxjava-2.2.2.jar
    β”‚       signalr-1.0.0.jar
    β”‚       slf4j-api-1.7.25.jar
    β”‚       slf4j-simple-1.7.25.jar
    β”‚       stax2-api-4.2.1.jar
    β”‚       woodstox-core-6.2.1.jar
    β”‚
    β”œβ”€β”€β”€maven-archiver
    β”‚       pom.properties
    β”‚
    └───maven-status
        └───maven-compiler-plugin
            └───compile
                └───default-compile
                        createdFiles.lst
                        inputFiles.lst

Project is: complete

Room for Improvement:

  • Find the most optimal path to the goal.
  • Make the Galaxio Bot more efficient.
  • Thanks To Allah SWT
  • This project was inspired by this article

Contact

Made by EnteGoalKiperPalingBaikDiDunia
2023


tubes1_entegoalkiperpalingbaikdidunia's People

Contributors

saddamannais avatar rifqifarhansyah avatar saktiwidyatmaja 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.