Skip to content

A deck of 52 cards is given. There are four suites each having cards numbered 1, 2, . . . , 13. The audience chooses some five cards with distinct numbers written on them. The assistant of the magician comes by, looks at the five cards and turns exactly one of them face down and arranges all five cards in some order. Then the magician enters and…

Notifications You must be signed in to change notification settings

AloxGit/Flipcard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flipcard

This is a thought provoking card game which is an implementation of a question in the Regional Mathematics Olympiad, 2016: https://brilliant.org/discussions/thread/rmo-2016-delhi-region/

The premise of the game is:

The user will choose 5 random cards and then will select 1 final card from the selected cards. The rest of the cards will then be arranged in a permutation computed by an algorithm. Since I know the algorithm, I will be able to figure out the final card just by looking at how the other cards are arranged.

About

A deck of 52 cards is given. There are four suites each having cards numbered 1, 2, . . . , 13. The audience chooses some five cards with distinct numbers written on them. The assistant of the magician comes by, looks at the five cards and turns exactly one of them face down and arranges all five cards in some order. Then the magician enters and…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published