My main challenge was writing an algorithm that could determine the best 5-card hand out of 7 according to the different poker hands, as well as trying to rank these hands to determine their relative rank to each other. I recently finished a project in which I attempted to build the game logic for a Texas Hold'Em Poker game.