video poker game for Raspberry pi board

We need video poker game for Raspberry pi board, the game can play with the custom controller but first, we test with a keyboard. In that game, back-end needs some settings, like which winning condition when come is decided by game admin. that settings in games back end. Plus we need to winning percentage setting according to players credit, means if we set players can win up to 90% then that 90% is calculated by players credit. if players start the game with 1000 credit then he wins only up to 900, not more than that these settings also need that game backend