Git Product home page Git Product logo

valentine-s-day-game's Introduction

๐Ÿ’ Valentine's Game License Contributions welcome Status

My first simple 2D game, with dedication to my friend Kasia, who was inspiration for this project

๐Ÿ’ป All resolutions support
๐Ÿ”‰ Sounds and music

Gameplay


Screenshots

alt text alt text alt text alt text

Game controls

  • Arrows left/right: flame shot
  • Space: bomb shot
  • WSAD: sprite control

How to use it

If there is a problem with running, try to open it by console with command:

java -jar ValentinesGame.jar
  • Linux
java -jar ValentinesGame.jar

If you will see errors about not having error like this:

java.lang.NoClassDefFoundError: javafx/application/Application

it means that you don't have javafx libraries and you need to follow this steps:

  • Download javaFx libraries for linux javafx-oracle.com
  • Unpack files into your java library destination, for example: /usr/lib/jvm/java-14-oracle
  • Run script made by myself for you:
    • -d or --default flag: open with default java installation folder
    • -p=JAVA_PATH or --path=JAVA_PATH flag: open with custom java installation folder by JAVA_PATH

Examples:

	./runGame.sh --default
	./runGame.sh -d
	./runGame.sh -p=/usr/lib/jvm/java-14-oracle
	./runGame.sh --path=/usr/lib/jvm/java-14-oracle

Software design stuff

Used Designs Patterns:

โœ… Builder
โœ… Strategy

Code overview:

โœ”๏ธ 48 classes (including enums and interfaces)
โœ”๏ธ over 3600 lines of code


๐Ÿ“ซ Contact

Created by

[email protected] - feel free to contact me! โœŠ

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.