[SOLVED] FIT2102 - Programming Paradigms -Assignment 1

30.00 $

Category:

Description

Rate this product

Functional Reactive Programming

Task description

In this assignment we will use the RxJS Observable stream explored in the Week 4 worksheet to create the classic Space Invaders game (YouTube) in an SVG image hosted in the spaceInvaders.html webpage.  The YouTube video is meant to give you an idea of the basic gameplay, but yours needn’t look the same or work in precisely the same way.  You will also need to write a report detailing the design of your game. The baseline functionality required for a passing grade, what needs to be included in your report and a list of alternative ideas for achieving an HD, are listed below

Full Game:

  • Meets minimum requirements
  • The user has shields, which disintegrate over collisions – Smooth and usable game play.
  • Able to restart when game finishes
  • The game progresses to a new level after all aliens are shot
  • See video for an idea of appropriate gameplay

All the above need to be implemented in a good functional reactive programming style to get a good grade. To get a higher grade you have to use a little creativity and add some functionality of your own choice — suggestions below.

Ideas for getting an HD.  Any one or more of the following (or something of your own devising with a similar degree of complexity) done well (on top of the basic functionality described above) will earn you an HD provided it is implemented using the functional programming ideas we have covered in lectures and tutes:

  • Create unit tests and create a file tests/main.test.js
  • Incorporate gameplay from other classic arcade games — e.g., breakout, galaga, etc.

Add power-ups to the game — larger shields, slower aliens, faster spaceship, etc.

  • Add combination bonuses, e.g if you hit 5 aliens in a row.
  • Advanced (not recommended unless you already know how): Make a distributed multiplayer version, wrapping the comms in Observable (you’ll have to provide your own server for this).
  • Your own ideas!

Some of the above will require a little independent research. That’s what computer science is all about.