nGin Project

Printer-friendly versionPrinter-friendly version
Game engine

A game engine. This game engine supports primarily turn-based games and provides enhanced support for games which are based on fields, areas, territories, zones, rooms and such. nGin relies heavily on the decorator pattern and the strategy pattern and provides the game developer many features such as fully automatic serialization, command processors and so on. Some demo games (console) are included:

  • PacMan
  • Chess
  • Go
  • TicTacToe

 

Downloads

Below you can download archives from this project. This project has no dependencies. Requires JSE 8+.

Please refer to the instructions how to use these Java software bundles.

 

Sample Games

Each game has a game adapter class which adapts the game specific implementation to the game engine. To run a specific game, please invoke the main method in the class "...ngin.core.Play" with the game adapter class name as argument, e.g. to run the Tic Tac Toe 1 use "...game.ttt1.TicTacToeGameAdapter" as the only argument.
Take care that both the engine's Play.class and the game adapter class are in the classpath!

To simulate a specific game, means to automatically replay (recorded) commands for a game, please invoke the main method in the class "...ngin.sim.Simulator" with the following arguments:
1. the game adapter class name (must be of a suitable type!)
2. a file with the commands list, e.g. "C:\Chess\chess_sim.txt"
3. an integer value for the delay between the commands, e.g. "1"
Take care that both the engine's Play.class and the game adapter class are in the classpath!
Please note: The Tic Tac Toe 1 game is not suitable for simulations.

 


SWDES nGin
Version 1.0
(build 6)        PoC  
  ZIP  
This file / content is licensed as follows:
 

Contains the SWDES nGin game engine library and javadocs. Additionally contains a runnable JAR for the open configuration mode.

License text   License parameters   Licensor   Copyright laws      Additional information

SWDES nGin (all)
Version 1.0
(build 6)       PoC  
  ZIP  
This file / content is licensed as follows:
 

Contains the SWDES nGin game engine library, javadocs, sources and classes. Additionally contains a runnable JAR for the open configuration mode.

License text   License parameters   Licensor   Copyright laws      Additional information

SWDES Chess
Version 1.0
(build 9)       PoC  
  ZIP  
This file / content is licensed as follows:
 

Contains the SWDES Chess library and javadocs. Additionally contains a runnable JAR to run the game directly.

License text   License parameters   Licensor   Copyright laws      Additional information

SWDES Chess (all)
Version 1.0
(build 9)       PoC  
  ZIP  
This file / content is licensed as follows:
 

Contains the SWDES Chess library, javadocs, sources and classes. Additionally contains a runnable JAR to run the game directly.

License text   License parameters   Licensor   Copyright laws      Additional information

SWDES Go
Version 1.0
(build 6)       PoC  
  ZIP  
This file / content is licensed as follows:
 

Contains the SWDES Go library and javadocs. Additionally contains a runnable JAR to run the game directly.

License text   License parameters   Licensor   Copyright laws      Additional information

SWDES Go (all)
Version 1.0
(build 6)       PoC  
  ZIP  
This file / content is licensed as follows:
 

Contains the SWDES Go library, javadocs, sources and classes. Additionally contains a runnable JAR to run the game directly.

License text   License parameters   Licensor   Copyright laws      Additional information

SWDES PacMan
Version 1.0
(build 6)       PoC  
  ZIP  
This file / content is licensed as follows:
 

Contains the SWDES PacMan library and javadocs. Additionally contains a runnable JAR to run the game directly.

License text   License parameters   Licensor   Copyright laws      Additional information

SWDES PacMan (all)
Version 1.0
(build 6)       PoC  
  ZIP  
This file / content is licensed as follows:
 

Contains the SWDES PacMan library, javadocs, sources and classes. Additionally contains a runnable JAR to run the game directly.

License text   License parameters   Licensor   Copyright laws      Additional information

SWDES Tic-tac-toe
Version 1.0
(build 6)       PoC  
  ZIP  
This file / content is licensed as follows:
 

Contains the SWDES Tic-tac-toe library and javadocs. Additionally contains a runnable JAR to run the game directly.

License text   License parameters   Licensor   Copyright laws      Additional information

SWDES Tic-tac-toe (all)
Version 1.0
(build 6)       PoC  
  ZIP  
This file / content is licensed as follows:
 

Contains the SWDES Tic-tac-toe library, javadocs, sources and classes. Additionally contains a runnable JAR to run the game directly.

License text   License parameters   Licensor   Copyright laws      Additional information

 

Pages