In this note we compute some enumerative invariants of real and complex projective spaces by means of some enriched graphs called floor diagrams.