Git Product home page Git Product logo

tubes2_oop's Introduction

Contributors Forks Stargazers Issues

mediQ Logo

IF2210 Pemrograman Berorientasi Objek

Tugas Besar 2: Remidi Kelola Kerajaan
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

About The Project

This project is a Java-based farm management application with a graphical user interface (GUI) created using JavaFX, designed for two players to plant crops, raise animals, sell products, harvest, use beneficial or harmful item cards, and defend against bear attacks, with the goal of accumulating the most money after 20 turns, featuring save & load functionality in txt format and a plugin for additional file format support.

Technologies Used

  • Java 17
  • Maven
  • JavaFX
  • Scene Builder

Features

  • Play Game : Start a new game with 2 players
  • Bear Attack : Randomly attack a player's farm
  • Save and Load : Save and load game progress
  • Item Card : Use beneficial or harmful item cards
  • Shops : Buy and sell your products
  • Attack Enemy : Attack the enemy's farm
  • Full Sound : Full sound effect and background music
  • Plugin : Additional file format support

Screenshots

Main Menu

Example screenshot

Game Screen

Example screenshot Example screenshot Example screenshot

Setup

Local Environment Setup

  • Linux
    1. Clone the repo
      git clone https://github.com/ValentinoTriadi/Tubes2_OOP.git
    2. Install JavaFX
      sudo apt install openjfx
    3. Install Java
      sudo apt install default-jdk
    4. Install Maven
      sudo apt install maven
  • Windows
    1. Clone the repo
      git clone https://github.com/ValentinoTriadi/Tubes2_OOP.git
    2. Install JavaFX
      https://openjfx.io/
    3. Install Java
      https://www.oracle.com/id/java/technologies/downloads/
    4. Install Maven
      https://maven.apache.org/guides/getting-started/windows-prerequisites.html

Compile to JAR

  1. Compile the program
    mvn clean compile assembly:single

Usage

Run GUI

java -jar target/Tubes2_OOP-1.0-SNAPSHOT-jar-with-dependencies.jar

Play Game

  1. Start a new game
  2. Make your move
  3. End your turn
  4. Repeat until 20 turns
  5. The player with the most money wins

Project Status

Project is: completed

Acknowledgements

  • This project was made as a Programming Object Oriented course assignment at Institut Teknologi Bandung

Contact

Created by :

tubes2_oop's People

Contributors

fauzanazz avatar loxenary avatar maulvi-zm avatar valentinotriadi avatar maharanish 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.