Added some gameplay mechanics.