FLAMES or FLAME is a paper-and-pencil game popular among school-aged children, [1] which is theoretically related to the Josephus problem and other counting-out games. FLAMES or FLAME is an acronym for the possible outcomes of the game. In order, they are: [1] [2] [3] [4]
This game is played to predict the future relationship between a person and their crush (or celebrity crush). If a player does not achieve the desired outcome, they may retry with different variations of their names to influence the outcome. The reactions to the game's outcome may reveal a player's true feelings toward the person they are paired with. The game, however, does not accurately predict the true relationship between any two persons. [1] [2] [3] [4]
The gameplay of FLAMES (or FLAME) has the following steps:
Although not part of the gameplay, when a player gets an unsatisfactory outcome such as "E" or "S", they may retry with different variations of their names, such as full names, initialled names, etc. This may reveal a player's true feelings toward the person they are paired with. [1]
Consider a "FLAMES" example of the Josephus problem variant.
The following is a possible pythonic implementation of the Josephus problem variant:
defflames(name1:str,name2:str)->str:a=list(name1.upper())b=list(name2.upper())foriinlist(a):ifiinb:a.remove(i)b.remove(i)n=len(a)+len(b)f="FLAMES"f_len=6whilef_len>1:r=n%f_lenifr==0:f=f[:f_len-1]f_len-=1else:f=f[r:]+f[:r-1]f_len-=1returnf[0]
In the text these references are preceded by a double dagger (‡):