GitXplorerGitXplorer
k

GridAiGames

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
3521e64dcdf6732c066ad454ced8f00b1ee0ca21

GetDetonationFirePositions extension solves chain reaction of bomb detonations.

kkindermannhubert committed 7 years ago
Unverified
5fb657f6d4f0ab029fac2dbb9a594cd74f722ec7

EnumerateDetonationFirePositions

kkindermannhubert committed 7 years ago
Unverified
7d43da905860200dcbbc0ea38cccdcd8e5092db9

Usage of BombermanGridExtensions in SimpleIntelligence.

kkindermannhubert committed 7 years ago
Unverified
6fc3686389f83f71f4ca31336a832b4d905b73dc

Modification of base objects and interfaces + introduction of BombermanGridExtensions which are available fo game grid and readonly grid too.

kkindermannhubert committed 7 years ago
Unverified
b4412093a54563423b9505c7a90ddcbac9c87aea

Objects' interfaces.

kkindermannhubert committed 7 years ago
Unverified
785eda377f2d42c303fad0e03a3290288660af25

Merge branch 'master' of https://github.com/kindermannhubert/GridAiGames

kkindermannhubert committed 7 years ago

README

The README file for this repository.

GridAiGames

Simple framework for creating time discrete 2D grid games driven by AI.

Bomberman

Classic game remake built with the GridAiGames framework.

  1. Game is evaluated in discrete steps.
  2. There is configurable number of teams. Each team has configurable number of players.
  3. In each step custom artificial intelligence returns action for each player of your team.

alt text

Rules

Players can move left/up/right/down and they can place bombs. Bomb placement and movement can be combined together.

Bomb has detonation radius and ramaining number of iterations to detonation. Detonation radius is inherited from player who placed the bomb.

Players can individualy upgrade detonation radius and maximum allowed number of placed bombs by picking up bonuses.

Player hit by bomb detonation fire dies.

Disqualification

Players can be disqualified for these reasons:

  1. Player's AI throws an exception.
  2. Player wants to do more than one action
  3. Player wants to do unsupported/unknown action.

Disqualification means that player will die.

How to create custom AI?

  1. Create new .NET class library.
  2. Add references to project "GridAiGames" and "GridAiGames.Bomberman.ReadOnly".
  3. Add new type which implements interface "IBombermanIntelligence".

Example of simple intelligence can be found at project "GridAiGames.Bomberman.SimpleIntelligence".

How to use custom AI?

Edit "GridAiGames.Bomberman\GridAiGames.Bomberman.Configuration.xml". You can also change other parameters of game there.

How to run game without GUI?

See project "GridAiGames.Bomberman.Tests".