basic gamer.erl and testing