Code Monkey home page Code Monkey logo

game-task's Introduction

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.

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.