Code for my web app where you can play heads-up limit poker against an AI