A simple Python implementation of the famous "3 in a row" realized using the graphic library "G2D" developed by @tomamic
run 3_in_a_row.py
You create a new level adding a new conf.txt files which is composed by :
- A list of comma separated integers(0,1,-1) which begins with # -> These values represent the colors of the matrix (1:white,-1:black,0:grey)
- A list of comma separated integers(0,1,2,3,4,5,6,7,8,9) which begins with @ -> These values represent the indices of the "forbidden" cells
- r followed by a comma and a number -> This is the rows numbers