Skip to content

miruthulnv/delta-task-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game Objective:

  • Protect your Titan piece at all costs.
  • Win by hitting the opponent's Titan with two cannon bullet.

Game Setup:

  • Each player has the following pieces:
    • 1 Titan ( Hit points : 2 )
    • 1 Cannon (must be placed in the last row)
    • 2 Ricochet
    • 2 Semi-Ricochet ( Hit points : 3 )
    • 1 Tank ( Hit points : 15 )
  • The initial configuration of pieces is decided by the computer and is randomized.

Piece Movements:

  • Players take turns.
  • Each turn, a player can move one piece one step in any direction (like a chess king).
  • Cannon can only move horizontally and must stay in the extreme rows.
  • Ricochet and Semi-Ricochet pieces can be rotated, which also counts as a move.

Piece Functions:

  • Cannon: Shoots a bullet after each turn.
  • Ricochet: Deflects bullets coming from any direction.
  • Semi-Ricochet: Deflects bullets only when they hit the inclined part; bullets disappear if they hit the straight part.
  • Tank: Stops any bullet it gets hit by.

Game Play:

  1. Players move a piece or rotate a Ricochet/Semi-Ricochet during their turn.
  2. After each turn, the player’s Cannon shoots a bullet.
  3. Bullets interact with pieces as follows:
    • Deflected by Ricochet/Semi-Ricochet
    • Stopped by Tank
    • Bullets hitting the opponent's Titan end the game, resulting in a loss for the hit Titan's player.

Winning:

  • The game ends when two cannon bullet hits the opponent's Titan, and the player whose Titan is hit loses.

Additional Constraints:

  • Only one Titan and one Cannon per player.
  • The Cannon must be placed in the last row and can only move horizontally.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published