diff options
author | Brian Cully <bjc@kublai.com> | 2021-01-03 18:34:19 -0500 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2021-02-06 10:39:32 -0500 |
commit | e92ad9f4b19a0670a80cdd293970c3a08c27a8b4 (patch) | |
tree | e8659dcdbf5f7ba3c55a118909d82dd8f0d0bcbd /main.mjs | |
download | molsim-e92ad9f4b19a0670a80cdd293970c3a08c27a8b4.tar.gz molsim-e92ad9f4b19a0670a80cdd293970c3a08c27a8b4.zip |
Initial commit.
Diffstat (limited to 'main.mjs')
-rw-r--r-- | main.mjs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/main.mjs b/main.mjs new file mode 100644 index 0000000..aed3c1a --- /dev/null +++ b/main.mjs @@ -0,0 +1,16 @@ +import Rules from './rules.mjs' + +function init() { + const genomeList = document.querySelector('#genome-history') + const die = document.querySelector('#die') + const nucleotideSelector = document.querySelector('#nucleotide-selector') + const instructions = document.querySelector('#instructions') + const cloneButton = document.querySelector('#clone') + const remainingIterations = document.querySelector('#remaining-iterations') + const printButton = document.querySelector('#print') + const errors = document.querySelector('#errors') + + const rules = new Rules(die, instructions, genomeList, nucleotideSelector, cloneButton, remainingIterations, printButton, errors) +} + +init() |