Switch from gen_server to gen_fsm for the game module.

This is the step 1, for the next week we have to use Maps for the fsm
state, instead of a List.