Giter Site home page Giter Site logo

entelect-challenge-2020's Introduction

Greedy Algorithm Implementation on Overdrive Game

Live demo here.

Table of Contents

General Information

Repositori ini merupakan pemenuhan tugas besar 1 Mata Kuliah Strategi Algoritma 2021/2022. Di sini terdapat bot buatan kelompok kami yang dapat digunakan sebagai pemain. Bot berupa kode java dan file binary jar yang merupakan hasil kompilasi kode java. File binary dapat terdapat pada folder "bin" sementara source code kami terdapat pada folder src. Bot dirancang dengan strategi greedy.

Greedy Algorithm Implementation

Algoritma greedy merupakan metode yang popular dan sederhana untuk memecahkan persoalan optimasi. Algoritma ini menyelesaikan masalah ke dalam bentuk langkah-langkah. Pada tiap langkah, algoritma greedy memilih satu pilihan yang dianggap paling baik untuk langkah tersebut sesuai dengan strategi yang digunakan. Setiap pilihan yang diambil dianggap sebagai optimum lokal dengan harapan akan membentuk solusi optimum global. Program ini menggunakan algoritma greedy dalam pengembangan bot untuk mencapai objektif game ini, yaitu untuk memenangkan permainan dengan mencapai garis finish terlebih dahulu. Program mengimplementasikan sistem poin dengan mempertimbangkan kondisi mobil, keadaan blocks di depan mobil, dan keadaan lawan. Dengan sistem poin tersebut, program dapat menentukan command terbaik pada setiap ronde permainan.

Setup

  • Java
  • IntelliJ IDEA

How To Build

  • clone this repository
  • open the directory of the cloned repository
  • right click on the src folder and choose "Open Folder as IntelliJ IDEA Community Edition Project"
  • on the IntelliJ IDEA screen, click File -> Project Structure
  • go to Project Settings -> Modules
  • Mark "sources" folder as sources
  • go to Project Settings -> Artifacts
  • set the output directory to the repository "bin" folder path
  • build the project by click "Build Artifacts" on the "Build" navbar

Project Status

complete

Acknowledgements

Authors

Name NIM
Addin Nabilal Huda 13520045
Dimas Faidh Muzaki 13520088
Rio Alexander Audino 13520156

entelect-challenge-2020's People

Contributors

maspaitujaki avatar audino723 avatar addinnabilal 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.