Abstract

Nowadays Java has become the most popular programming language that has been designed to develop desktop applications that run on Java virtual machine (JVM) regardless of computer architecture. Particularly, Java is useful for developing Game Applications. Implementing these applications is an effective educational way to encourage Java Learners. This paper aims to develop a desktop racing game to motivate freshmen who self-identity as creative or who wants to implement their own 2D racing games rather than a prescribed activity. It brings fun and simplicity of the game ‘Pirate Race’ with new features. This game was developed with the Runnable Interface by extending the JFrame and the movement of the objects in the frame was controlled by keyboard events. ‘Pirate Race’, is a simple game application that targets Java Learners to understand how usable classes and interfaces can be handled in a relatively short time. The application presents a graphical user interface with 2D graphical images having different file types (GIF, PNG, JPG) and with a background sound. The application allows the user to move the ship by pressing the (up, down, left, right) keys of the keyboard. The user’s goal is to compete with the other two pirate ships and finish the race with the first rank. When racing with opponents, the user must take correct moves to prevent the ship from crashing with ice mountain that resides in the sea. The game contains simple controls that can be easily caught by children. Therefore, it is suitable for players of the ages three and up. This will be a challenging and interesting game for children who likes to play computer games.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call