I made a game prototype way back involving almost-particles, which have rules that make them follow the player for example, or seek out enemies etc.
It used a dynamic spell creation system, so you'd press for example Q > W > W > R and that would make a certain type of spell shape with the particles behaving in a preset way, and then you'd press W > W > R and it would do something completely different. That means you can stack offensive and defensive skills, and enemies have bonuses or weaknesses based on their element. Water > fire > air > earth > electric > etc so you have to use the right element for the right job.
In the version I made, I had it so that water destroys fire, air multiplies fire, electric goes through earth and water, and a few other rules. It worked pretty well but the problem was controls. It could work with just WSAD and 1234, but I was thinking about maybe using gestures.