logo

Game Programming in Java

Implement a Java game engine and GUI for a simple 2D board game using JavaFX.

5 Pages753 Words285 Views
   

Added on  2023-03-30

About This Document

This article discusses game programming in Java using JavaFX. It covers the development process, features of the game, such as multilevel gameplay and obstacle control, and future improvements. The game is designed for single-player mode and involves moving an empty box through obstacles to complete levels.

Game Programming in Java

Implement a Java game engine and GUI for a simple 2D board game using JavaFX.

   Added on 2023-03-30

ShareRelated Documents
GAME PROGRAMMING IN JAVA
Student Name
College
Game Programming in Java_1
Introduction
This is a puzzle game that can only be played by one player at a time, it does not support multiple
players. A player interacting with the game has the ability to move a given empty box to existing
boxes in the game with no interference of boxes containing obstacles. This is possible because
the game has two dimensions board. Development of the game was done in javafx development
language, an object-based language. The development was done using a special java
development environment i.e. IntelliJ IDE .(Anon, n.d.).
A player can only win a game if and only if he is able to shift the position of an empty box
through all empty boxes. A player is able to do this by shifting from a box to another past all
objects along the route. Once a player completes a level(wins a game), he’s granted the ability to
proceed to another level with a complex structure than the preceding level. This is made possible
by the multilevel function that has been included in the game. As one moves from a level to
another , he/she is faced with more obstacles. As mentioned earlier the game is developed in
java, an object-oriented language and thus the game implements abstraction, encapsulation,
polymorphism, overriding and overloading and all other aspects of object-oriented programming.
(Anon, n.d.).
The game is well designed and implements a start and endpoint concept. This is visible in the
game as a player is directed on how to begin the game and where to stop or end it.at the left
topmost corner is the start position of the game while the right bottom corner marks the end point
of a game.
The player is able to set the game according to his level of experience. This can be done by
his/her ability to take charge and alter the number and position of obstacles in a puzzle(Anon,
n.d.).
A path help button is present in the game. It has a button; allow path that provides amateurs with
a possible route to a solution to the puzzle. Another button; show path gives a view of all the
routes a player can take to arrive to a solution very easily.
A user is given a quick guide on how to play the game by pressing the step view radio button.
Game Programming in Java_2

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Game Programming in Java
|5
|801
|468

Game Programming in Java
|5
|778
|124

Game Programming in Java
|4
|770
|275

Game Programming in Java
|5
|758
|120