GithubHelp home page GithubHelp logo

asteroids's Introduction

CPPND: Capstone Asteroid Game

Asteroid is a classic 2D space shooting video game, which consists of a player that shoots bullets and destroys enemies. Enemies can also destroy the player by shooting bullets.

The keyboard controls for the paddle are as follows:

  • 'arrow keys': moving player up/down/forward/right
  • 'left control': shoots bullet
  • 'spacebar': starts game for the fist time or restarts the game

High score of the player is stored.

Rubric requirements

  1. Loops, Functions, I/O

    • The project accepts user input and processes the input (see Controller::HandleInput).
  2. Object Oriented Programming

    • The project uses Object Oriented Programming techniques.
    • Classes use appropriate access specifiers for class members.
    • Class constructors utilize member initialization lists.
  3. Memory Management

    • The project follows the Rule of 5 (see Entity class).
    • The project uses smart pointers instead of raw pointers (See Game class).
  4. Concurrency

    • The project uses multithreading (see Game::Run).
    • A mutex or lock is used in the project (see Game::calcFrameRate).

Acknowledgement

This project is based on the starter repo for the Capstone project in the Udacity C++ Nanodegree Program.

asteroids's People

Contributors

drawat123 avatar

Watchers

 avatar

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.