added front-end design and basic gameplay functionality