As we move from left to right in a period, the number of electrons goes on adding to the same valence shell. Now metals have the tendency to lose electrons and the non metals have the tendency to gain electrons. So as we move from left the metallic character decreases and the non metallic character increases.