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

  How to implement a class called hugeinteger

Using your own Linked List implementation (see attached), implement a class called HugeInteger that represents arbitrary sized integers and supports addition only. You may only use the tools we have introduced in class, and you MAY NOT use Java's ..

  Design and develop a small or medium sized program

Write a C program that sorts strings into descending or ascending order (determined by the user of the program). develop your own program driver to illustrate that your program works. You may use any library functions you wish.

  Draw the hierarchy chart and then plan logic for a program

Draw the hierarchy chart and then plan the logic for a program for the sales manager of The Couch Potato Furniture Company. The manager needs a program to determine the profit on any item sold

  Designing and populating a course table

Use data to design and populate a course table. Designate the CourseID field as a Primary Key and permit your database to automatically produce a value for this field.

  Identify the number of odd vertices

identify the number of odd vertices.

  Draw a hierarchy chart and then plan the logic for a program

Draw a hierarchy chart and then plan the logic for a program for the sales manager of The Couch Potato Furniture Company. The manager needs a program to determine the profit on any item sold. Input includes the wholesale price and retail price for..

  Write a pseudocode-function to count the number of items

Write a pseudocode/function that will delete from an unsorted linked list of integers the node that contains the smaller integer. Can you do this with a single traversal of the list.

  Find cost of sorting the relation

Suppose the cost of seek is 5milliseconds, while the disk transfer rate is 40 mgbytes per second. Find the cost of sorting the relation , in seconds, w/bb = 1 & w/ bb= 100.

  Design an algorithm to determine best route for passenger

Consider the following problem: Design an algorithm to determine the best route for a subway passenger to take from one designated station to another in a typical urban subway system similar to those in San Francisco and New York

  Research paper - cognitive modeling and human interaction

The paper can be a review that covers current solutions on Cognitive modeling and human interaction, or a research paper that proposes your own opinions/solutions.

  Develop modified versions of the quicksort and mergesort

Using the recursive algorithm, described in the previous section, develop an iterative function with the same functionality as the recursive nextPermutation function. Recall, that the iterative function should not contain recursive calls - it uses..

  Create a hierarchy chart depicting the chosen situation

Create a hierarchy chart depicting the chosen situation. Develop a flowchart and provide a brief explanation for it. Develop an algorithm and provide a brief explanation for it

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