This repo contains a faulty or poorly designed blackjack game with a fatal flaw. You should be able to up your chances of beating our sophisticated AI dealer by modifying non-enclave files (i.e. not anything in server/enclave).
In order to prove to another party that you successfully beat the challenge you should provide the generated by the server in server/output_data. These files should be (gameswon.txt, public_key.pem, report.data, signature.data)
No additional setup required. All dependecies are provided.
The main client you will modify to finish the task is the CLI client (cli.py), but we also provide a GUI client (gui.py) for your entertainment.
- No additional setup required for the CLI client.
- To run the GUI client, refer to gui-README.md.
cd server
make build
make runsimConnect to the blackjack server using either the CLI interface
cd client
python3 cli.pyor the GUI interface (additional setup required; see GUI-readme.md):
cd client
python3.13 gui.py netid server-ip your-assigned-portAssuming you have gracefully exited the server processes. Once you have finished playing you can verify the results of the game.
cd server
make verifysim