Coder Social home page Coder Social logo

universityproject-virtual-world-java's Introduction

Virtual World Simulator with Swing GUI

This repository contains an application that simulates a virtual world using a graphical representation with the Swing library. for the OOP course. The simulator creates a two-dimensional grid of a customizable size that represents the virtual world. The world is populated with different forms of life, each with unique behaviors and characteristics.

The application utilizes Swing components such as buttons and menu elements to implement functions like advancing to the next turn and saving/loading the world state.

Requirements (project is completed on 4 points)

  • 3 points:

    • Implementation of the game world and its visualization using Swing.
    • Implementation of all mandatory animal species.
    • Implementation of all plant species.
    • Implementation of the Human controlled by arrow keys.
    • Implementation of a special ability for the Human.
    • Implementation of saving and loading the virtual world state to/from a file.
  • 4 points:

    • Implementation of the ability to add organisms to the game world. Clicking on an empty cell should provide the option to add any existing organisms to that cell.
  • 5 points:

    • Implementation of an abstraction for the game world with two different implementations. One implementation simulates the world on a grid, while the other implementation simulates the world on a hexagonal board (similar to a board game).

Sample game screens

image

image

universityproject-virtual-world-java's People

Contributors

szymongr14 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.