Command pattern for canvas games
Despite popular opinion, I still belive in the use of design patterns where applicable. I've been reading through Bob Nystroms Game Programming Patterns from 2014. The great thing about these sort of programming books is that they hold up really well. The patterns present are just as relevant today as they were in 2014.