benjamw / quarto

A PHP port of the board game Quarto

Home Page:http://iohelix.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Optionally place first few pieces

benjamw opened this issue · comments

When a game starts, it's often tedious to place the first 6-8 pieces. Add an option that will allow the game to randomly place the first 6-8 pieces.

When placing, make sure not to create a winner, but more importantly, make sure to leave a valid move that doesn't end in an instant win. Also make sure not to fill any matching set, like rows, columns, diagonals, squares, etc. which may be difficult, and might have to have some leeway, especially with more matching options.