ajanata / PretendYoureXyzzy

A web clone of the card game Cards Against Humanity.
https://pretendyoure.xyz/zy
BSD 2-Clause "Simplified" License
1.23k stars 397 forks source link

Adds a simple regex based filter to the game list. #107

Closed clutterskull closed 10 years ago

clutterskull commented 10 years ago

Adds cah.GameList methods for creating and applying the filter, as well as a filter text input element next to the create game button. Filtering is bound to the input keydown and game list update.

It's a bit of a superfluous feature, but it saves me a lot of time (when I apply it dynamically) over Ctrl-F the name of the game (which then often changes position in the game list before I can click join).

clutterskull commented 10 years ago

Also, thanks for creating this in the first place. My friends and I have had many many hours of awesome times because of your work.