Just training coding a simple game