Code Monkey home page Code Monkey logo

oop-projects's Introduction

CS202 Projects โ€“ Object Oriented Programming in C++ and Java

C++

Star Exploration Game

  • Procedurally generated star system allows user exploration to discover a planet with life.
  • A planet with life depends on several factors- distance from the local sun, composition, number of moons, atmosphere & velocity. These factors affect each other and the passage of time causes these to change.
  • ADT implements a DLL for all planets in a solar system and an array of DLLs for a solar systems in a galaxy
  • Velocity and mass of spaceship affects its position in space and the chosen planet to investigate depends on which planet exerts highest gravitational force on the spaceship.
  • Preset planet conditions are read from an external file which depend on planet object's variables.
  • Inheritence is implemented for derived classes such as planet/spaceship to behave like fundamental classes such as mass/time.

Event Management Chat System

  • An event posting and chatting application allows users to sign-up and create event specific chat threads.
  • Events are identified by a keyword and stored within a red-black tree organized by keyword. Events with the same keyword are stored in a linear linked list and are accessible in O(logn) time.
  • Events can be displayed and its corresponding chat when queried by keyword. Operator overloading implements common functions for LLL insertion/display/replication and relational operators for comparison between users and events.
  • Chat histories are stored within a dynamically created external data file per event.

Java

Product Selection & Search Interface

  • For a choice of vehicular features - wheels, color and engine - a user is able to display search results for all cars ordered by a match score. Cars are randomly generated with feature configurations chosen from an external data file and placed into randomly assigned dealership objects.
  • A BST within a BST stores all cars arranged by name with the outer BST storing all dealerships also arranged by name.
  • A search invocation assigns a match score to every car in the database and then creates another search result BST storing cars by match score value.

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.