Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikhail-ev/game-task
https://github.com/mikhail-ev/game-task
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mikhail-ev/game-task
- Owner: mikhail-ev
- Created: 2020-01-29T10:47:25.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-11T00:22:15.000Z (over 3 years ago)
- Last Synced: 2025-01-02T03:53:32.031Z (6 days ago)
- Language: JavaScript
- Size: 29.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Game task
### General description
The game consists of the game field, player’s unit, enemy units, and bonus units. The player’s objective is to destroy all enemy units or complete other objectives (up to the developer, but the presence of enemies and bonuses is mandatory).
### Acceptance criteria
* The player’s unit should be controlled by a keyboard or combination of mouse + keyboard.
* The player should have the ability to start and restart the game using UI controls.
* The game should have a losing scenario.
* The losing scenario should lead to restart UI.### Technical requirements
* The game should be implemented in JS.
* The view should be implemented using any possible combination of Canvas, SVG and DOM elements.
* The view should not be coupled with the game model remaining a possibility to change rendering technology at any time.
* The usage of any frameworks and libraries is strictly prohibited (exceptions are possible only in case if the need has been proven and confirmed by mentors).### Instructions
* Install dependencies using ``npm install`` and use `` npm start `` to run the application locally.
* Do not add ``script`` tags into html. Remain _index.js_ connected and import other modules using ES6 ``import`` keyword from your _index.js_ file.
_index.js_ is used as an entry-point to the application, other project's files and folders are up to you.* _/src_ folder should only contain javascript files, to add a non-javascript file to the project - place it into the _/public_ folder. Paths to files in the _/public_ folder will be relative to the _index.html_.
* _index.html_ file is not watched by bundler, in order build its changes - restart the ``npm start`` task.