CSE509 Project Report
Spacewar Game
Venu Karumuru
Paul E. McKenney
Abstract
These pages describe a Space War game that allows two
players to control spaceships in a star's gravity well, shooting missiles
at each other, and dropping mines in each others' paths. The player
with the last remaining ship wins. The game is written to take advantage
of Java objects and classes, and makes use of a number of design patterns.
This report describes the game's design and implementation, and compares
this implementation to an earlier version of this game written in PDP-12
assembly language.
Table of Contents
-
Project Proposal
-
Proposal Abstract
-
Basic Project Details
-
Proposed
Extensions to Basic Project
-
Example Project
Work Breakdown
-
Language
-
Project Implementation
-
Features Implemented
-
User Interface
-
Appearance
-
Design
-
UML Diagrams
-
Object Overview
-
Universe Class
and Collaborators
-
SpaceObject
and ControlledObject
-
Helper Classes
and Interfaces
-
Patterns Used
-
Implementation
Strategy
-
Overview
-
Implementation
Sequence
-
Testing Orbital
Dynamics
-
Precession
-
Delta-V
at Perihelion and Apohelion
-
Comparison to PDP-12 Implementation
-
Source Code Size
-
Development
and Maintenance Costs
-
Performance
-
Accuracy
-
Playability
-
Complexity
of Programming Environment
-
Overall Suitability
-
Lessons Learned
-
Summary and Conclusions
-
Source Code
Printer-friendly version.
Download tgz file.