Biosphere 7 is a board game for 2 players.
The game board is a 14x14 grid. Each player has 7 plants. Each plant has between 1 and 9 vitality points.
Each player may place or cut one plant per turn. A plant may be placed on any empty cell. A plant may be cut if it is adjacent to another plant. When a plant is cut, the vitality points of the plant are added to the vitality points of the adjacent plant. If the adjacent plant has more than 9 vitality points, the excess vitality points are lost.
The game ends when all the plants have been placed or cut. The winning player is the one who has the most vitality points.
It is possible to fertilize a plant to increase its vitality points. A player may fertilize a plant if it is adjacent to another plant. When a plant is fertilized, the vitality points of the adjacent plant are added to the vitality points of the fertilized plant. If the fertilized plant has more than 9 vitality points, the excess vitality points are lost.
$ javac
$ java ./src/Biosphere7.java
Give a ⭐️ if this project helped you!