Skip to content

A simple smartwatch implemented with Java OOP and designs such as singleton, polymorphism and state patterns

Notifications You must be signed in to change notification settings

danieladam7/smartwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

A simple Smartwatch

This project involves the development of a simple smartwatch using Java. The smartwatch can display the current time, and date, and has features such as an alarm clock and stopwatch. It demonstrates various functionalities like time management, date display, and branding.

Tech Stack 💻

My Skills

  • Java was used to develop the entire smartwatch application, leveraging its object-oriented features to effectively manage different modes and functionalities.

Design 📐

  • Object-oriented programming principles to structure the different functionalities of the smartwatch into various classes.
  • Design patterns such as Singleton, Polymorphism, and State Pattern.

Features 🏆

  • Time Display: The smartwatch can display the current time in AM/PM format using the HourMode class.

  • Date Display: The smartwatch can display the current date and the day of the week using the DateMode class.

  • Alarm Clock: An alarm clock feature that starts after a set time, managed through the AlarmClock class.

  • Stopwatch: A fully functional stopwatch managed through the StopwatchMode class.

  • Branding: A branding message written to an output file using the BrandMode class.

Deployment 🌐

  • Local environment

Usage 🎯

  • git clone https://github.com/danieladam7/smartwatch
  • cd your_project_directory Replace project_directory with the actual directory name of the cloned repository.
  • Open your Java IDE/ VS Studio, import the project, and run the TheOneS2.java main class. This will start the smartwatch application and allow you to interact with different modes using predefined actions.

Connect me 📫

text Website text

About

A simple smartwatch implemented with Java OOP and designs such as singleton, polymorphism and state patterns

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages