rkirszba / Filler

πŸ“š Algorithmic progamming game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Filler

42 project Filler

Description

Filler is a game where two players fight each other, trying to collect as many points as possible by placing the highest number of pieces on the game board. At the beginning of each turn each player receive a game piece that he has to put on the board. To be able to place a piece on the board, it is mandatory that one, and only one cell of the shape overs the cell of a shape placed previously.

Solution

My program tries to surround its opponent's positions, using a heatmap.

Installation

Clone the repository and launch the following command : make && make -C visualizer

Run

Without visualizer

resources/filler_vm -f [path_map] -p1 [path_p1] -p2 [path_p2]

With visualizer

resources/filler_vm -f [path_map -p1 [path_p1] -p2 [path_p2] | visualizer/visu

Visualizer features

  • possibility to see the previous / following turn
  • accelerate / decelerate
  • start / stop

About

πŸ“š Algorithmic progamming game


Languages

Language:C 89.8%Language:Ruby 6.5%Language:Makefile 3.7%