Please just read the game rules first: http://elementsthegame.com/rules.html
Point 4:
Quote
4- You win a game when your opponent's HP are reduced to zero or when he has no more cards to play.
The other way around: you lose, when you have no more cards to play!
So this obviously is no bug - it was just your fault to try to draw another card...
No, I guarantee you that's not the way the designer intended it to work. That's just poor wording on his part (or he just didn't explain it enough). It makes no sense to be able to kill yourself, even if by accident, just by trying to draw a card using an ability when there are none to draw. It's the same with Magic: The Gathering; there are tons of cards that allow the player to draw more cards during his turn, but you just wouldn't be able to use them if you didn't have any cards left in your library. It's an issue with the fact that this game is digital; it's not possible to take something back that you can't possibly do (and shouldn't be able to do in the first place). Clearly, this game is far from being "finished" and most likely never will be since it is theoretically infinitely expandable, so there will obviously be bugs like this at such an early stage in the games life, especially when it's a hard-to-find bug such as this. The rules will continue to develop and become more detailed as the development of the game progresses.