Skip to content

nbaak/PuzzleGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puzzle Game

A small Puzzle Game written in Python using Pygame.

Installation

Local with Pygame

We need at least the Pygame module for python to play with App.py. If we want to play on the webui, we also need Flask.

python3 -m pip install pygame flask

HTML Frontend (Docker)

Build the Container:

docker-compose build

Run the docker-compose up command to start the container.

docker-compose up -d

How to play

You get a block from the queue and you have to place it on the field. If the block gets grouped with 3 or more touching Blocks of the same type, the will be merged to a Block of a higher tier. When Blocks get merged together, you will receive points for the amount and the value. If you group for example 3 Blocks of the weight 2, they will give you 6 Points. (2+2+2)