forked from PolymerLabs/arcs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating TTT to be the new recipe syntax. (PolymerLabs#4034)
* Updating TTT to be the new recipe syntax. * Updating more schema things. * Removing any.
- Loading branch information
Showing
2 changed files
with
102 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
schema Person | ||
Text name | ||
Text avatar | ||
Number id | ||
|
||
schema GameState | ||
Boolean gameOver | ||
Number winnerId | ||
Text board | ||
Number currentPlayer | ||
Number lastMove | ||
gameOver: Boolean | ||
winnerId: Number | ||
board: Text | ||
currentPlayer: Number | ||
lastMove: Number | ||
|
||
schema Event | ||
Text type | ||
Number move | ||
Number time | ||
type: Text | ||
move: Number | ||
time: Number | ||
|
||
schema Move | ||
Number move | ||
move: Number | ||
|
||
schema Person | ||
name: Text | ||
avatar: Text | ||
id: Number |