Enable choosing the generation algorithm.
This commit is contained in:
parent
2c72e5e0c8
commit
66f1de460a
2 changed files with 7 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"short_name": "React App",
|
||||
"name": "Create React App Sample",
|
||||
"short_name": "A-Maze-R!",
|
||||
"name": "The A-Maze-ing Maze Generator - A-Maze-R!",
|
||||
"icons": [
|
||||
{
|
||||
"src": "favicon.ico",
|
||||
|
|
|
@ -85,6 +85,11 @@ export default function InputForm({state, dispatch}) {
|
|||
disabled={state.loading}
|
||||
onChange={setId}
|
||||
/><br/>
|
||||
<label for="algorithm">Algorithmus:</label>
|
||||
<select id={"algorithm"}>
|
||||
<option>wilson</option>
|
||||
<option>random</option>
|
||||
</select><br/>
|
||||
<button type={"submit"}
|
||||
disabled={state.loading
|
||||
|| isNaN(width)
|
||||
|
|
Loading…
Reference in a new issue