blob: 99277a787dfaf1bb0dd93ce5e93cca31b535db37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import Rules from './rules.mjs'
function init() {
const genomeList = document.querySelector('#genome-list')
const die = document.querySelector('#die')
const aminoAcidSelector = document.querySelector('#amino-acid-selector')
const nucleotideSelector = document.querySelector('#nucleotide-selector')
const instructions = document.querySelector('#instructions')
const remainingIterations = document.querySelector('#remaining-iterations')
const printButton = document.querySelector('#print')
const errors = document.querySelector('#errors')
const rules = new Rules(die, instructions, genomeList, aminoAcidSelector, nucleotideSelector, remainingIterations, printButton, errors)
}
init()
|