An innovative and fun game combining OpenUI5 and CreateJS to showcase real-time and interaction capabilities of UI5 technology. Browse the source code to look behind the scenes or play the game to see Flush! in action.
Flush! can be played in single player or two player mode. Use your mouse, fingers, or keyboard to score points. Multiplayer levels are keyboard-only. The game can also be played with game pads or custom game controllers.
Follow the in-game instructions or check the input control page for more details.
Flush! is an innovation project that brings together Web app capabilities of OpenUI5 with open source game and effect frameworks:
- OpenUI5 (app and game mechanics)
- CreateJS (canvas rendering, sound, animations)
- Box2D (physics)
- dom-to-image (UI5 control to canvas mapping)
We leverage the enterprise-grade UI5 technology with custom controls, custom theming, sprite effects, game mechanics, and scripted levels to create a unique browser game.
To report a bug, please open an issue.
We welcome your contributions. For small fixes and improvements simply create a Pull Request in this repository. For larger changes, please first get in touch with us in the #flush channel of the OpenUI5 Community Slack.
Due to legal reasons, contributors will be asked to accept a DCO before they submit the first pull request to this projects, this happens in an automated fashion during the submission process. SAP uses the standard DCO text of the Linux Foundation.
As artificial intelligence evolves, AI-generated code is becoming valuable for many software projects, including open-source initiatives. While we recognize the potential benefits of incorporating AI-generated content into our open-source projects there are certain requirements that need to be reflected and adhered to when making contributions.
Please see our guideline for AI-generated code contributions to SAP Open Source Software Projects for these requirements.
Requirements: The git client and Node.js must be installed.
To run a local instance of the game, follow these simple setup steps:
-
Clone this repository
-
Install npm dependencies with
npm install
-
Run the game with
npm start
The following media assets and thirdparty libraries were used in this project:
- Credits and Attribution for sounds used in the game
- List of thirdparty libraries and recommended sofware
Copyright (c) 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v.2 except as noted otherwise in the LICENSE file.
Have fun playing the game!
The Flush! Team