项目作者: chandravaran

项目描述 :
The is small game based on the old spaceship game #asteroids-game
高级语言: C
项目地址: git://github.com/chandravaran/Asteroids.git
创建时间: 2020-01-08T15:42:51Z
项目社区:https://github.com/chandravaran/Asteroids

开源协议:

下载


Asteroids

This repo contains code for playing the asteroid game. It can only be run on Turbo C++. The keyboard is used to move the spaceship around. The position of the asteroids coming down is generated using a random generator, but as the code is rerun systematically, a pattern arises in the location of the asteroids.

Game preview

Controls are:

a - move left

d - move right

space - shot

The score and some instructions can be seen on the right side of the screen. The mouse can only move around in the right section. There are two ways to exit the program: you can move your cursor to the bottom box and click or press ESC directly. The game has two levels currently. In the second level, the asteroids come down faster.