now (main state) works yeilding a new game-state.txt file
(main state) now works with html .. kinda, it doubles some work