Untitled conversation
- User
{ "rowCount": 4, "colCount": 4, "type": 0, "letters": "WIND", "words": [ { "word": "WIND", "vertical": true, "rowIndex": 0, "colIndex": 1, "coinIndices": [], "awardCoins": false }, { "word": "IN", "vertical": false, "rowIndex": 1, "colIndex": 0, "coinIndices": [], "awardCoins": false }, { "word": "WIN", "vertical": false, "rowIndex": 0, "colIndex": 1, "coinIndices": [], "awardCoins": false } ], "id": "3a87432f1c6e4f51b501303142f4016a" } This a level data format for my mobile crossword word game. Col index determines the starting column number of the word and row index determines the starting row number of the word. Row count and col count determines the total number of rows and columns to generate the board. Vertical field determines if word will be placed in a vertical orientation in the board if true otherwise it is horizontal. Letters field determines the letters will be used to generate words in the board. Please generate me a level json for a max 5 letter words.
- Assistant
Below is a sample level data format for a crossword word game based on your requirements with a maximum of 5-letter words. The JSON object contains configuration for the board size, orientation of words, their starting positions, and the letters used.
{ "rowCount": 5, "colCount": 5, "type": 0, "letters": "CRANE", "words": [ { "word": "CRANE", "vertical": false, "rowIndex": 1, "colIndex": 0, "coinIndices": [], "awardCoins": false }, { "word": "RACE", "vertical": false, "rowIndex": 3, "colIndex": 1, "coinIndices": [], "awardCoins": false }, { "word": "CANE", "vertical": true, "rowIndex": 0, "colIndex": 4, "coinIndices": [], "awardCoins": false }, { "word": "EAR", "vertical": true, "rowIndex": 1, "colIndex": 2, "coinIndices": [], "awardCoins": false }, { "word": "ACE", "vertical": false, "rowIndex": 4, "colIndex": 0, "coinIndices": [], "awardCoins": false } ], "id": "5b621e83f84e4f2584d6ef31d5eb61df" } - User
generate one more
- Assistant
Here is another level data format for your mobile crossword word game. This example features a fresh set of words with a maximum length of five letters, arranged on a 5x5 board.
{ "rowCount": 5, "colCount": 5, "type": 0, "letters": "LIGHT", "words": [ { "word": "LIGHT", "vertical": true, "rowIndex": 0, "colIndex": 2, "coinIndices": [], "awardCoins": false }, { "word": "HILT", "vertical": false, "rowIndex": 2, "colIndex": 1, "coinIndices": [], "awardCoins": false }, { "word": "HIT", "vertical": false, "rowIndex": 4, "colIndex": 0, "coinIndices": [], "awardCoins": false }, { "word": "GIT", "vertical": true, "rowIndex": 0, "colIndex": 4, "coinIndices": [], "awardCoins": false }, { "word": "LIT", "vertical": false, "rowIndex": 0, "colIndex": 0, "coinIndices": [], "awardCoins": false } ], "id": "9e80b348ef924312b8d3e4d4e23be5ec" }