Skip to content

harshita19244/ColourSwitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Colour Switch

Details:

Created by Harshita Srinivas and Aditi Sejal

This is a clone of the strategy game 🎮 , Colour Switch originally developed by Pheonix Games

Made as a part of project in Advanced Programming course at IIIT-Delhi.

Uses Java and JavaFx.

Features:

⭐️ Game 🎮 progresses in infite display with increasing difficulty
⭐️ In-Game upgrades available (Clover and Rocket) that boosts score on gameplay
⭐️ Implementation of Bonus Shop feature to buy upgrades and custom balls
⭐️ In game assets:

  1. Obstacles Available 🔴: Cross, Line, Triangle, Circle and Rectangle
  2. Balls Available 🥎: Normal Ball, Ice Ball, Fire ball, Pink Ball, Green-light Ball
  3. How To Play 📄: Displays details of Game Play
  4. Rocket and Clover 🍀: Upgrades for score boost
  5. Save Game and Restart Game options: User can save multiple game states, and reload them.
  6. Background Music 🔈 for cooler interactions

Implementation:

  1. The implementation of the user interface was achieved using FXML and CSS for further UI improvements.
  2. The implementation of the project follows a strict object-oriented paradigm in addition to generic programming with well-defined classes for each component of the gameplay.
  3. The gameplay additionally uses the functionality of event-driven programming using JavaFX to create an infinite gameplay setting, various obstacles and transitions for all moving objects.
  4. It also utilizes threads and timers for parallel execution of multiple features such as moving the ball, incrementing the high and checking collisions with other game components.
  5. It takes into account various design patterns of software development. Additionally, serialization has been implemented to store the progress during a particular setting of the game.

Design Patterns:

  1. Singleton
  2. Iterator
  3. Facade

Code and assets:

  1. Path to images: ColourSwitch/assets
  2. Path to code:ColourSwitch/sample
  3. Path to Delivarables: src/2019244_2019228.pdf

How to Run

  1. Clone the repository
  2. Install the Java-Fx SDK
  3. Run the entire project in a Java Environment and you are good to go!

Screenshots from the Game:

About

CSE 201: Advanced Programming Final Project | Re-implemented a clone of the strategy video game Color Switch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages