Java Projects
Systems of classes that work together: inheritance, interfaces, generics, exceptions and collections.
- Pizza Orders
The order program of a pizzeria: a menu in three sizes, orders with extras, a deal for big orders, delivery fees and the best sellers at closing time.
- Car Rental
A rental office with cars, a van and scooters, each priced its own way through inheritance: rentals, returns, services every 1000 km and a monthly report.
- Parcel Tracker
Track parcels between depots: postage by weight, a status that only changes in ways that make sense, failed deliveries, each parcel's journey and late parcels.
- Smart Home
One hub for a flat's lights, radiator and plugs: interfaces for what each device can do, rooms switched at once, and the electricity each one used.
- Drawing with Undo
A drawing program on a grid of characters where every tool is an object that can do and undo itself: rectangles, lines, text, fill, undo, redo and history.
- Self Checkout
A supermarket's self-checkout kiosk where every problem is an exception of its own: unknown barcodes, the scale, age checks and payments that fail.
- Car Playlist
A car's music and podcast player built on one generic Playlist class: separate lists, for loops through Iterable, a shuffle that a seed repeats, and generic methods.
- Chess Moves
A chess board for a kids' club that checks every move: each piece a class with its own way of moving, turns, captures, pawns, check, checkmate and stalemate.
- Order Book
The market behind a school stock market game: offers to buy and to sell in priority queues, trades as soon as the prices agree, part orders, market orders and who owns what.
- Settings Parser
Read a game's JSON settings, groups inside groups, with a recursive parser of your own: tokens, any depth, settings found by their path, and broken files reported.