pavelsupenko / centipede Goto Github PK
View Code? Open in Web Editor NEWCentipede Game
Centipede Game
Dear player. That is a centipede game - a remake of the game of 1980 from Atari. You control the spaceship that is into the asteroid belt. You are being hunted by a huge cosmic monster that you need to destroy. Rules: 1. You control a spaceship that moves horizontally at the bottom of the screen. If you are playing on a computer, use the arrow or the WASD keys. 2. Shots are made by mouse clicks or tap on the screen. 3. The game field is filled with asteroids in random order. 4. To destroy an asteroid you need to hit it 3 times. 5. A centipede moves from screen top according to the following rules: 5.1. It moves horizontally in one of the directions. 5.2. If it sees an obstacle, it moves to a lower level and changes direction. 5.3. To destroy the cell centipedes you need to hit once. 5.4. The destruction of the head creates an asteroid on this position and the next cell becomes the head. 5.5. The destruction of the cell in the middle of the body creates an asteroid and divides the centipede into two parts, which move independently. 6. For the destruction of the middle cell you get 100 points. 7. For the destruction of the head you get 300 points. 8. Also, enemy ships appear periodically, which leave behind new obstacles. 9. For the destruction of the ship you get 200 points. 10. For the destruction of the asteroid, you get 20 points. Good luck!
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.