computer graphics, C/C++ Programming

Assignment Help:
.Develop a two dimensional interactive game with the following features:
1. Use OpenGL (any version you find convenient)
2. The game can either be two player or one player with the other player simulated by a simple AI.
3. Make the game two dimensional with the player(s) viewing the activity from above a plane
4. The player starts as a disk, but can “morph” (that is expand and contract) in selected directions
(see the figure in the specifications for part 2)
5. A player''s disk expands outward (but to a given limit) in a direction entered interactively
(see the figure for Part 2) . The goal is for the end of this expanding “arm” to contact the
opponent within the opponent''s basic starting circle. When contact is made, a point goes to
the “attacking” amoeba and the attacked amoeba shrinks a bit in its basic circle radius. The arm
contracts after a given time and must vanish before it can be extended again.
6. Players have two different colored arms --- one for attacking and one for defense. The
defending arm when contacting the opponent player pushes the two players apart.
7. Design keyboard and or mouse controls to move the player and control the player''s “arms”
8. Scores keeping is not required
9. If players collide (make contact at the separation of their basic circles – not their arms) , they
stop moving while in contact but can still rotate in place, and can still extend “arms”

A well developed implementation for the above will earn an A grade. To get a higher grade one of the
following should be completed in addition.

1. Add game driven obstacles that roam the field of play randomly and are poison to the touch
and can destroy the player on contact.
2. Players bounce off the wall with angle of incidence equal to angle of reflection

Related Discussions:- computer graphics

Explain some string oriented library functions, Explain some String Oriente...

Explain some String Oriented Library Functions? To make simpler string processing we can use special string oriented library functions. Mainly the C compilers include library f

Variable, what is local and global variable?give me some example to underst...

what is local and global variable?give me some example to understand better

Explain the function prototype - computer programming, Explain the Function...

Explain the Function Prototype? The Functions must be declared before they are used, ANSI C provides for the new function declaration syntax called as the function prototype,

Palindrome, A palindrome is a string that reads the same from both the ends...

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Define global variable in c++ program, Define global variable in c++ progra...

Define global variable in c++ program: How to define a global variable and need of global variable in c++ program. int main() {    int m=20;    clrscr();    for

Program that calculates bowling scores, Homework – Chapter 5 – Bowling Scor...

Homework – Chapter 5 – Bowling Scores 33. Write a complete C++ program to do the following: The main program reads in and prints three bowling scores, score1, score2, and score

Define difference among new & malloc?, Both malloc & new functions are util...

Both malloc & new functions are utilized for dynamic memory allocations & the basic difference is: malloc need a special "typecasting" while it allocates memory for eg. if the poin

Draw a circle in c program , Draw a circle in c program: void main() ...

Draw a circle in c program: void main() { clrscr(); int i,r=50,t,j,x,y; int gd,gm; gd =DETECT; initgraph(&gd,&gm,""); for(x=50;x for(y=50;y {   i

Input and output in c++, C++ improves on many of C's features and provides ...

C++ improves on many of C's features and provides object-oriented programming capabilities used for software production, quality and reusability. C++ was developed by Bjarne Strons

Wap avgerage score-assignment- standard deviation of student, finds the ave...

finds the average for all assignments for an individual student float getAverageForStudent(float scores[20][10], int student, int numAssignments) {  }  // finds the average for

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd