SNIPERS

Team Members and Expertise:
Krzysztof Duda: sound, game engine
Rafal Skorka: networking, game engine
Tao Ge: graphics, game engine
Introduction:
Our project is a 2D game where two players (snipers) have a task
of killing each other. The scenario of the game are two buildings
opposite to each other. Each player occupies one building and can
shoot through windows. There are 15 rooms on 3 floors in the
buildings and the players can change the rooms. In order to go to
another room, a sniper must exit the room and enter another room
through the corridor. Players have available a variety of
weapons. The game will be controlled by both mouse and keyboard.
Our group consist of three members which shared the task of
coding sound, graphics, networking and game engine.
Main Features:
320x200, 256 color graphics (Mode 13h Video)
MIDI and WAV sound
one-on-one network game capability
AI computer player
both mouse and keyboard control
Problem Description and
Implementation:
Snipers is a complete game that incorporates many facets from the
ECE291 class that comes together to form a network game for two
people. It has mouse and keyboard interfaces,
including its own cursor masks. It incorporates sound in the
format of WAV files. It does graphics using PCX file format,
screen buffers, and palette manipulations. It also works reliably
on the network that adds the human challengeto the game. The main
graphics represents the front view of the opponent's building.
This view can be scrolled in 4 different directions, so that a
large part of the opposite building can be seen from any window.
The sound implements sound effects and background music. The game
engine incorporates the defined graphics, sound, network, and AI
functions.
PROJECT BREAKDOWN:
Variables, constants,and structures
External functions used:
Lib291:
rsave,rrest,kbdine,ascbin,binasc,dspmsg,dosxit:near
SbLib291:
sb_play,sb_init,sb_clean,sb_setcallback,sb_stop
NetLib:
NetInit,SendPacket,NetRelease
Also used macros.inc written by Prof. Lockwood
Graphics design:
Mainroom,corridor, and building by Rafal Skorka
Mainmenu, defeat/victory screen, and status bars by Tao Ge
This web site was created by Rafal Skorka on April 28,1999.