Share your repls and programming experiences

← Back to all posts
War Card Game Simulator
typhirz (0)

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.

Comments
hotnewtop
ninja2k11 (31)

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