[Solved] CSE443 Homework 1

$25

File Name: CSE443_Homework_1.zip
File Size: 160.14 KB

SKU: [Solved] CSE443 Homework 1 Category: Tag:
5/5 - (1 vote)

The martial arts clothing company Uan Tekme A.. is about to release a new clothing season, and they have asked your company Yakan Top Turizm naat Nakliyat Danmanlk Teknoloji Ticaret ve Limited irketi to produce a relevant computer game for marketing purposes.

The customer is asking for:

  1. A 2D side-scrolling video game (such as Sonic, Mario Bros, etc); meaning that there will be onemain character moving to the right at constant speed (basically its the scenery that moves, while the character always remains at a fixed spot on the screen).
  2. The character is allowed 2 actions: jumping when the spacebar is pressed, and moving to theright when the D keyboard key is pressed. The environment where it moves is assumed flat, with occasional/random immobile monsters/obstacles of constant and jumpable height.
  3. The game window will be divided into 2 parts, the upper part for gaming, and the lower part forprinting debug/text messages; one message per line. You are expected to print the actions of the character.
  4. There will two types of jumps, low and high. In case of each, you will print respectively, lowjump and high jump in the message area. The customer wants this functionality to be implemented with the Strategy design pattern, since they plan on adding new jumping styles in future versions of the game. Initially the character jumps low; high jump is enabled when the appropriate powerup is acquired.
  5. If the character fails to jump over the monster/obstacle, and collides with it, the gamer will lose alife (of which she has 3). If the jump is successful, the gamer earns some points. The points earned will be printed as a message.
  6. The character will randomly also encounter powerups; and if it collides with them they will beconsidered acquired. There will be 3 types of powerups: A, B, C. They will act as multipliers for the points earned per jumped obstacle. A: x2, B: x5, C: x10. Their effect will be cumulative; e.g. acquiring B after C, means the score multiplier is x50 and so on. The customer is asking you to use the decorator pattern in order to implement this functionality, as they intend to add additional powerups in the future. The acquired powerup will be printed as a message. The fourth type of powerup D will change its jump mode (from low to high or from high to low).
  7. The customer has given you full artistic freedom. You can draw/design the

environment/character/powerups/obstacles as simple or as complicated as you want; e.g. the main character can be a rectangle, the obstacles can be triangles, and so on.

Rules:

  1. Satisfy the customers needs, and strive for a reasonable gaming speed (at least 10 frames persecond, to be printed at the top left corner).
  2. Both Java Swing and FX are acceptable as visual libraries.
  3. Your game must have start/pause/exit buttons in its menu.
  4. If it freezes for any reason -90. You are expected to use threads properly.
  5. Implementing the strategy pattern correctly +20
  6. Implementing the decorator pattern correctly +20
  7. Deliver a working game satisfying the customers needs and these rules +40.h) Javadoc, reports, etc: +20

Have fun.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CSE443 Homework 1
$25