Las Vegas Baby

misc algo FCSC 2026 solved on

star star

Description

You are in Las Vegas, in the middle of a Texas Hold’em poker tournament. All the players have gone on a break, and you find yourself alone with the deck of cards and your conscience. The temptation to cheat arises.

However, the task is not so simple: the dealer cuts the deck at a random position before dealing the cards. You must therefore be clever so that the deal gives you the best hand, regardless of where the dealer cuts. Additionally, you know you will be in the small blind, but you do not yet know whether there will be 3 or 4 players after the break.

Your objective is to arrange the deck in such a way that you are guaranteed to win the next hand.

Files

Author

graniter

Challenge Instructions

  1. First, download docker-compose.yml:
    curl https://hackropole.fr/challenges/fcsc2026-misc-las-vegas-baby/docker-compose.public.yml -o docker-compose.yml
  2. Launch the challenge by executing in the same folder:
    docker compose up
  3. Then, in another console, access the challenge with Netcat:
    nc localhost 4000
⚠️ Important: You must solve the challenge by interacting with the Docker container through the exposed network port. Any other way is not considered valid.

In case you encounter problems, please consult the FAQ.

Flag

Share my success on Fediverse, Twitter, Linkedin, Facebook, or via email.

Submit your solution

You can submit your writeup for this challenge. Read the FAQ to learn how to proceed.

You need to be logged in to submit a writeup.

Writeups

There are no public solutions for this challenge yet, but you can submit yours after getting the flag.