Back
Close
  • 206

What will I learn?

Queues

Solving this puzzle shows that you can manipulate queues and simulate every step of deterministic card game.

Statement

Your program must determine the winner of a game of War, a simple two-player card game.

Solve it

A higher resolution is required to access the IDE

Story

Over at Winamax, card games are all the rage. Why don't you join the party?

codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants