Giter VIP home page Giter VIP logo

colourswitch's Introduction

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:

colourswitch's People

Contributors

harshita19244 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

asejal

colourswitch's Issues

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.