Coder Social home page Coder Social logo

galaga_invaders's People

Contributors

abell95 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

galaga_invaders's Issues

"player_bullet.rb" needs to be renamed to "missile.rb"

"bullet" is not in the domain language for this project. Func spec uses "missile." Additionally, this is overly specific. With this convention we would need alien_bullet.rb as well, which seems redundant and not adherent to DRY.

Add missile collection

Create class for managing instantiation + position tracking of missiles, among other things

Stub out wave class

The 'Wave' class manages alien movements, level completion, and alien waves and squadrons.

Stub out bullet class

Create base logic for bullet class - which represents the bullets the player ship fires

Stub out Fort class

Create Fort class to represent ingame forts, implement basic logic to avoid compilation errors

Rename player.rb to ship.rb

Specificity in class name is potentially restrictive. If this class was extended or inherited by another, the name would be misleading since the player does not control any other actors in the system. Specificity is important, but probably not at the cost of flexibility and tolerance to change. I propose that the player.rb aka player_ship.rb be renamed to ship.rb.

Originally posted by @bmchristensen in #9 (comment)

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.