How to play
Just click on one of the buttons to make your choice. You can play as many times as you like.
Just click on one of the buttons to make your choice. You can play as many times as you like.
This version seems much more playable to me. You can click on your choice and you get the games results. The game function is nearly the same as on version 001, with only the small change that the result is not printed to the console with console.log()
, but instead returned. This return value is then used by a simple onclick-event to change the content of the result area into the actual results. So with not much additional work, the game has changed quite a bit.
It works and it is playable without doing stuff like opening the console.
It doesn't look good and there is no real incentive to play the game. Especially to play it more than once. The resultmessages are still boring and do not give credit to the complexity of the game.