Skip to content

About Magnetic Cave is a 2-player adversary game where each player tries to build a “bridge” of 5 magnetic bricks within a cave whose left and right walls are magnetic.

Notifications You must be signed in to change notification settings

Nsralla/Magnatic_cave_game

Repository files navigation

Magnatic_cave_game

About Magnetic Cave is a 2-player adversary game where each player tries to build a “bridge” of 5 magnetic bricks within a cave whose left and right walls are magnetic. The rules of the game are simple:

  • Initially, the cave (the board) is empty.
  • Player ■ and player □ move in an alternate fashion, starting with ■. So ■ starts, followed by □, then ■ again, then □ again, ...
  • Because there are two big magnets on each side of the cave, a player can only place a brick on an empty cell of the cave provided that the brick is stacked directly on the left or right wall, or is stacked to the left or the right of another brick (of any color).
  • As soon as one player is able to align 5 consecutive bricks in a row, in a column or in a diagonal, then this player wins the game.
  • If no player is able to achieve a winning configuration and the board is full, then the game stops and there is a tie.
image

About

About Magnetic Cave is a 2-player adversary game where each player tries to build a “bridge” of 5 magnetic bricks within a cave whose left and right walls are magnetic.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages