Class to write computer games that have animated sprites

Assignment Help Data Structure & Algorithms
Reference no: EM13945741

ABSTRACT

Ucigame (pronounced 00-see-GAH-me) is a Java package that supports the programming of 2D sprite-based computer games. Designed for novice programmers, it enables students in an introductory class to write computer games that have animated sprites, music and sound effects, and event-driven keyboard and mouse handling. Ucigame has also been used successfully in a senior-level class for experienced programmers.

Categories and Subject Descriptors

D.2.13 [Reusable Software]: Reusable Libraries.

General Terms

Design, Human Factors, Languages.

Keywords

Computer games, Java, Java library, Ucigame.

1. INTRODUCTION

"Our practice of embedding a programming language in the first courses, started when languages were easy for beginners, has created a monster. Our students are being overwhelmed by the complexities of languages that many experts find challenging (typically Java and C++)... Many do not experience the joy of computing: the interplay between the great principles, the ways of algorithmic thinking, and the solutions of interesting problems." - Peter J. Denning [2].

The Ucigame (pronounced 00-see-GAH-me) framework is designed to enable novice programmers to create 2D computer games in Java. It has also been used by relatively experienced programmers in a senior-level game development course. Ucigame is a Java package, distributed as ucigame.jar, that handles many of the more complex game programming tasks, including loading and playing sound files, handling concurrency and multi-threading issues, and sprite-related tasks such as loading images from files, animating the images, and detecting
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee.

SIGCSE '08, March 12-15, 2008, Portland, Oregon, USA.
Copyright 2008 ACM 1-59593-947-0/ 08/0003...$5.00.

A challenge in teaching an introductory Java programming course is to find short projects that excite the students, are not too difficult, and do not rely on Java libraries that have not yet been covered. Simple game projects with Ucigame may fulfill this need.

2. MOTIVATION

Ucigame was developed to make introductory Java programming more engaging. For many high school and college students, computer games are an important component of their culture, and also the most visible type of computer program. (The variety, frequent updates, and even the bugginess of computer games make them more visible as computer programs than the more widely used software in operating systems, office productivity applications, and electronic devices.) Familiarity, interactivity, and certainly the "fun factor" all make computer games effective programming projects for novice programmers.

Programming courses often teach, at least initially, a subset of the language and its libraries. A new programmer is learning new skills and a new way of thinking, and teachers often want to minimize complexity at the language and library levels. For example, in Java the case statement may be put off, in favor of solely using if. Sometimes teachers use a development environment that only accepts a subset of the language (e.g. DrJava [6]) or start with a different and simpler language altogether.

A related technique is to use simplified or modified versions of standard libraries, with the goal of substituting ease of learning and ease of use for flexibility and generality. A classic example in Java is to replace the console input facilities provided by System. in and the InputStream class. (The Java Standard Library's Scanner class, introduced in Java 1.5, alleviates this need somewhat.)

We have articulated two goals: to engage students with computer game projects, and to ease students' paths into Java programming with a digestible subset of the Java language and its libraries. These goals may be contradictory, since even a simple computer game can require a fairly complex implementation. We attempt to resolve the conflict by restricting the computer games to 2D, sprite-based games and by encapsulating in the Ucigame library many of the mundane and yet complex chores required for even a simple game. Ucigame contains a number of classes and objects which provide easily comprehended and used abstractions of common game components.

Reference no: EM13945741

Questions Cloud

Evaluates residual risk during the rulemaking process : OSHA evaluates residual risk during the rulemaking process and uses what they define as an acceptable risk level in developing a standard. Discuss to what extent you believe individual risk perception should be used in establishing controls at ind..
What exchange risk did the japanese investor : What exchange risk did the Japanese investor face at the time of his purchase? How could the investor have hedged his risk?
Determine the organizations ubti and any related ubit : For each of the following organizations, determine its UBTI and any related UBIT. Worn, Inc., an exempt organization, provides food for the homeless.
What is the equivalent fresh-water pressure head : A piezometer in a saline water aquifer has a point-water pressure head of 18.73 m. If the water has a density of 1022 kg/m3 and is at a field temperature of 18°C, what is the equivalent fresh-water pressure head? Show all work.
Class to write computer games that have animated sprites : The Ucigame (pronounced 00-see-GAH-me) framework is designed to enable novice programmers to create 2D computer games in Java.
What is darcy law valid : A sand aquifer has a median pore diameter of 0.232 mm. The fluid density is 1.003 x 103 kg/m3 and the fluid viscosity is 1.15 x 10-3 N-s/m2. If the flow rate is 0.0067 m/s, is Darcy's law valid? What is the reason for your answer? Show all work.
Calculate rabbits unrelated business income : The lessee of the first building is unrelated to Rabbit, whereas the lessee of the second building is a 100% owned for-profit subsidiary. Calculate Rabbit's unrelated business income.
Compute the theoretical minimum number : Compute the theoretical minimum number of workstations. Work Station Task Selected
What is your opinion of this given course : What is your opinion of this course? Did it meet your expectations? What suggestions can you offer for improvement of this course for future students

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Design a bfs-based algorithm

Design a BFS-based algorithm (pseudo code) for directed graph that computes the total number of paths from vertex srcU to vertex destV.

  Returns true if a string contains properly nested

Give an algorithm that returns true if a string contains properly nested and balanced parentheses, and false if otherwise. Hint: At no time while scanning a legal string from left to right will you have encountered more right parentheses than left..

  How do i created the pseudocode

Using the UML diagram and variable list , create Pseudocode for the program.

  What messages does f send to a when processing

What messages does F send to A when processing the ( repair, A ) notification? What messages does A send upon receipt of these messages from F?

  Declare a double array

Question 1: Declare a double array of size 100. Question 2: Fill out the array with 1 if a random value is greater than 0.5 else 0 Question 3: print the number of 0's in the array .

  Describe a o(nlogn)-time algorithm

You are given a set of n real numbers and another real number x. Describe a O(nlogn)-time algorithm that determines whether or not there exist two elements in S whose sum is exactly x. Hint : Doesn't the O(n log n) term make you feel that sorting ..

  Draw a dfd that shows how data will be stored

Draw a DFD that shows how data will be stored, processed, and transformed in the TIMS system, Draw an FDD that shows the Personal Trainer's main functions

  Pseudocode contains pseudo-code for a program

Pseudocode contains pseudo-code for a program which processes a client file (the master file) and a service file (the transaction file) by updating the clientTotal field in the client file according to the serviceTotal field in the service file.

  Write the parametric form of the unit circle

Write the parametric form of the unit circle. Given an arbitrary positive integer n, write an algorithm that generates n evenly spaced points that are sampled along the unit circle

  Prove that there can be at most 13 distinct common entries

Tyrell-III has n replicants and each has a particular model specification. There are many models. Unfortunately, there was an insurgency on the planet and some of the replicants destroyed a critical database that held replicant data.

  Design a linear-time algorithm

Design a linear-time algorithm that verifies that the height information in an AVL tree is correctly maintained and that the balance property is in order.

  Description a long time ago in a galaxy far far away the

description a long time ago in a galaxy far far away the country mafghanistan had n cities and m old roads where each

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