This file contains hidden or 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
export const CREATEOPTIONS = 'CREATEOPTIONS'; | |
export const FILLPUZZLE = 'FILLPUZZLE'; | |
export const createOptions = (opts, wordList) => { | |
const options = {}; | |
options.width = opts.width || wordList[0].length; | |
options.height = opts.height || wordList[0].length; | |
options.preferOverlap = opts.preferOverlap === undefined ? true : opts.preferOverlap; | |
options.fillBlanks = opts.fillBlanks === undefined ? true : opts.fillBlanks; |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Tic Tac Toe</title> | |
<link rel="stylesheet" href="main.css" media="screen" title="no title"> | |
</head> | |
<body> | |
<div class="container"> | |
<!-- <div class=""> |