This is a short puzzle game in JS. Version 2.0
Take one ball or two balls. Who takes the last ball looses. Play with computer and see if you can win when he starts or if you start. From version 2.0 you can choose with how many balls you start and how many balls each player can maximally take each turn.
Just open subgame_en.html for english version or subgame.html for polish version.
- Better internationalization (not with X different htmls)
- Checking if balls number is not < 3 or balls in 1 move < 1. Others conditions OK (balls in 1 move could be > total balls number, cause you cannot take more balls than you see on screen).
- In title DIV make and update info about: a. remaining balls b. balls currently highlighted
- after changing sub.js which is main JavaScript file for the game, remember to update sub.min.js by minifying sub.js