FIT3094 : AI for Gaming
Assignment 1: Mousetrap
non-player character controlSemester 1, 2009
Task: Design and implement controllers for mobile non-player characters in the context of a simple computer game, Mousetrap.
Non-player characters: a mouse Squeak, a dog Arf.
Player character: a cat Fuzz who has access to an endless supply of pieces of Swiss cheese.
Environment: The game is played in a large room of any shape (you can design it). Squeak has eaten some holes in the wall around the room from which he can emerge to run across the room (see figure below). The holes are not connected behind the wall - if Squeak enters a hole, he must later reappear from that hole.
Arf and Fuzz live inside the room. They don't get along very well. Fuzz must try to avoid Arf who enjoys chasing her around the room, threatening to lick her face. Squeak is attracted out of the holes in the wall by pieces of Swiss cheese, but must avoid being caught by Fuzz. Arf is not interested at all in Squeak, only in catching Fuzz.
Aim: The player must leave pieces of Swiss cheese at appropriate places around the room to entice Squeak to come out so that Fuzz (under player control) can catch Squeak without herself being caught by Arf.
Specification:
- Complete the design of this 2D game so that it will be fun to play (5%)
- Implement this game using C++, and OpenGL/GLUT to run on a Unix-based platform*:
- Implement suitable strategies for Arf to catch Fuzz (30%)
- Implement suitable strategies for Squeak to cross the room whilst avoiding Fuzz ( 30%)
- Implement strategies for Squeak to obtain cheese dropped by Fuzz (30%)
- Pretty up your game so that it is enticing to play (5%)
Consult the assignment submission details for information on how to complete you work.
*Assignments that do not employ OpenGL/ GLUT or build and run correctly under UNIX will receive a mark of zero!