Found 3 repositories(showing 3)
leofansq
AVOD needs the planes file to provide ground plane information, but the official planes generation tool has not yet been provided, which brings great difficulty to the test work. This project is used to generate planes files especially for AVOD testing.
TheCodingCanal
Minecraft is the beloved game by many kids and adults like me for doing almost anything you want in a low res world. The modding community took that idea even further and allowed players to do even more. I love playing modpacks like Feed The Beast that combine a bunch of great mods that give you the ability to cast magic with ruins, travel to other planes, make nuclear reactors, and so much more. Maybe you’ve thought about some cool stuff you’d like to have or do in minecraft to make it even more fun. Well now you can by making your own mod. We’re going to be making our own simple mod, which will set the stage for you to build your own blocks, crafting recipes, tools, armor, mobs, game rules, etc. There’s a lot that we need to do to get to the point of playing our mod and I will guide you step by step in this workshop.
ruthironside
Your task is to model a system for the world renowned online travel booking agent TravelJava. You should use the tools you have learnt this week where appropriate and useful. Remember to TDD! TravelJava doesn't really exist (sadly) - don't stress about how a "real" example of this would work differently. This is just an exercise to practice some different concepts. Assumptions: Each passenger bag weighs the same Planes reserve half of their total weight for passenger bags The weight of bag per person is the weight reserved for passenger bags divided by the capacity Passengers exist for a single flight only MVP Create a Passenger class which has: a name a number of bags Create a Plane class which has: an enum PlaneType (e.g. BOEING747) which stores capacity and total weight Create a Flight class which has: an empty list of booked Passenger's a Plane flight number (i.e. "FR756") destination (i.e. GLA, EDI) departure airport (i.e. GLA, EDI) departure time (use a String) The Flight class should have methods to: return the number of available seats book a passenger (if there are remaining seats) Extensions Create a FlightManager class which has methods to: calculate how much baggage weight should be reserved for each passenger for a flight calculate how much baggage weight is booked by passengers of a flight calculate how much overall weight reserved for baggage remains for a flight More Extensions Refactor the Flight's departure time to use the Date class (HINT: Look into Type Migration in IntelliJ to refactor faster) Add a 'flight' property to the Passenger class which is assigned when a passenger is added to a flight Add a 'seat number' property to the Passenger class as an integer. Set it to a random number which is assigned when a Passenger is booked on a flight Make sure the flight doesn't double book the same seat number to more than one passenger Super Extensions Write a method in FlightManager to sort the passengers of a Flight by seat number by implementing a Bubble Sort Write a method in FlightManager that uses a Binary Search to find a Passenger by seat number. Remember to use the previous method to sort the list first
All 3 repositories loaded