Back
Close
  • 835

What will I learn?

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

Learning Opportunities

This puzzle can be solved using the following concepts. Practice using these concepts and improve your skills.

Statement

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

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