Skip to content
Sign upLog in
← Back to Community

War Card Game Simulator

Profile icon
typhirz

https://repl.it/@typhirz/War-rDailyProgrammer-320-Intermediate

This will simulate a card game of War between two space-separated lists of "cards," displayed as numerals. Just change the -- inputs section to fit your decks, without restrictions to size or deck contents.

Voters
Profile icon
MiguelAlcala1
Profile icon
typhirz
Comments
hotnewtop
Profile icon
ninja2k11

But I checked the code and it dose NOT do anything anyways,that's why!

Profile icon
DarkswordsmanJG

When I run it stops