game logic updated (still with errors, new test-gui added)