Starting from:

$25

COSC414 - Project 2 Super Bug Zapper- Solved

Expand using WebGL and JavaScript (but not three.js), and the mathematics package that comes with the textbook, project 1 into a three-dimensional interactive game where now

 

1.      The playing field starts as surface of a sphere centered at the origin.

2.      The player can drag the sphere to rotate to look for bacteria (under interactive control).

3.      Bacteria grow on the surface of the sphere starting at an arbitrary spot on the surface and growing out uniformly in all directions from that spot at a speed determined by the game.

4.      The player needs to eradicate the bacteria by placing the mouse over the bacteria and hitting a button.

5.      The effect of the poison administered is to immediately remove the poisoned bacteria.

6.      The game can randomly generate up to a fixed number (say 10) of different bacteria (each with a

different color).

7.      The bacteria appear as a colored circular patch on the surface of the sphere.

8.      The game gains points through the delays in the user responding and by any specific bacteria reaching a threshold (for example, a diameter of a 30-degree arc on a great circle of the sphere).

9.      The player wins if all bacteria are poisoned before any two different bacteria reach the threshold mentioned above.

 

A well-developed implementation for the above will earn a grade of 80%. To get higher grade, two of the following should be completed in addition (each feature successfully completed adds 10%).

1.      The effect of the poison administered also propagates outward from the point of insertion of the position until all the bacteria are destroyed.

2.      When two bacteria cultures collide, the first one to appear on the surface dominates and consumes the later generated bacteria.

3.      When a bacterial culture is hit, use a simple 2D particle system to simulate an explosion at the point where the poison is administered.

4.      Lighting is used. Use GUI control to enable or disable lighting.

 

More products