I worked with Soheil Koushan in 2011 to program a digital version of the card game Big 2. The game has a single player and multiplayer mode. The AI implements a greedy algorithm that plays the set of lowest valued cards possible. It does not save high value cards for use in later situations. However, it will save cards that form a valid combination (double, triple, four-of-a-kind and poker hands). Up to four players connected by LAN can play in multiplayer mode. This was done using JGroups (licensed under LGPL). Players can also chat before and during games. The full source code can be found on GitHub. Or you can download an executable JAR.