ripter / class-invaders Goto Github PK
View Code? Open in Web Editor NEWJS Game Dev Class
License: MIT License
JS Game Dev Class
License: MIT License
Killing a mob should give you points.
Points should be shown at the top of the screen.
The player should start the game with 3 lives.
If the player is shot:
When the player loses all lives the game is over.
When all the invaders die reset them:
The bunkers should not reset.
Bunkers do not move.
They are made up of 6 pieces (3x2) that can be destroyed by bullets.
Each piece can take a random number of shots between 1 and 3.
There should be three stages of damage, that corresponds to the number of shots it can take.
Several bunkers should be placed between the player and the invaders at the start of the game.
The invaders should drop when they reach the left side of the screen.
"The UFO (aka Flying Saucer or Mystery Ship) is a ship that will randomly pop up. If a player hits it, they will receive a random number of either 50, 100, or 150 points. However, if they perform the secret of firing 22 shots, then hitting it on the 23rd shot, then on the 15th shot thereafter, they will receive 300 points every time."
It should
Extra Credit:
Looks different than the player's bullet.
Damages the player/bunker on hit.
Invaders should speed up every time one is destroyed.
Let the user enter their initials with their score on the end screen.
Show a list of high scores with initials.
Extra Credit:
Invaders should randomly fire at the player.
If the player is hit, he loses a life.
If a bunker is hit, the piece it touched should take damage.
Shown when the player loses all lives.
Displays a high score.
Player can press a key to restart the game.
When the page first loads, it should show a start screen.
pressing a key should start the game.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.