snapapps / edgy

a visual programming language inspired by Scratch
http://snapapps.github.io/
GNU Affero General Public License v3.0
51 stars 21 forks source link

TicTacToe Game Tree #175

Closed stevenbird closed 10 years ago

stevenbird commented 10 years ago

Create a TicTacToe example, possibly with costumes. Be sure to remove the symmetric cases. cf. http://www.cs.toronto.edu/~rdanek/csc148h_08/assignments/a3/A3.html

stevenbird commented 10 years ago

A state could look like this:

O–X
–OX
XOX

Find or create the TicTacToe game tree and create the file.

Loading this file will cause Edgy to report that the file is too large, so the user can then ask to see a subgraph ("show subgraph from N of depth D"). User will name a state using a string, e.g. O–X/–OX/XOX.