Can you provide a link to the pc's in question as well as their specs?
Neither is good for gaming unless you have plans to buy a discrete graphics card.
If these are the small form factor cases, that will be a bit difficult and expensive.
Regardless, 4gb of ram is simply not enough for anything.
Gaming performance is mostly determined by the power of the graphics card.