attempt at creating very simple game mechanics from scratch with html elements