Let's assume i have created a game, and then created ERC tokens (Example swords) so the player must buy a token to be able to play the game.
What if someone creates similar tokens in his wallet and injects them into my game as if they are bought from my tokens store

I don’t think that it is possible. The standard ERC721 that is used for tokenization of different things in games, assumes that this thing is unique and has its address, so it’s impossible to create the same thing with the same address.
Moreover, I think that if you are able to create a game then you can set it up in a way that it will not accept things that were not bought in your shop. But actually this way the logic of NFT-tokens will be destroyed, because they assume that players can use their tokens in different games.