Supplying power to one of over 100 electromagnets

Hello again intelligent people!

After the great help from my previous question I've had another thought of how to realise my idea.

If I were to have a grid of over 100 spaces where children can place parts one at a time that includes an electromagnet on it, is there a way to safely and easily apply power to the inserted piece on the grid?

Or alternatively (and preferably but harder I imagine) have over 100 elecromagnets where one at a time activates according to if a piece is there?

I'm vaguely thinking relays but imagining a lot would be needed!

Also will be needing pins for two small displays so unsure if that will affect anything?

Cheers,

Mike

Edit: Forgot to mention each piece will activate as it is placed so there can be many pieces in the grid as one is added. Matrix system?

read X/Y problem.

you have gone past step 1 , 2 and 3 and have already eliminated all the simplicity.

please re-state your desired project without using any electrical terms, parts or devices.

what is happening in the real world ?

example : I have a letterbox for a multi-story apartment building. I want to know if there is mail in any box and put that on the web so each tenant can see if they have mail.

Also, there is a similar application that has to with parking garages.
lots of details on having a large number of sensors to monitor.
lots of people doing that and there is a lot of information. it has the same general premise.

I apologise, I always have trouble explaining things and tend to overcomplicate!

Essentially there will be a large board, similar to chess board where the user can insert a wooden piece into one of many slots.

Once a piece is secured I want an electromagnet/solenoid to activate which makes the piece move.

Then another piece can be secured and so on.
Ideally with the ability to activate any other time if a button is pressed.

Cheers,

Mike

an electromagnet/solenoid to activate which makes the piece move.

Move to where?

how does the piece move ?

and to where as was asked or moved how and why ?

what switch ?

if you have a board with switches, and a remote LED board with corresponding LED ?
pin in hole - red LED, no pin in hole - green LED

or pin in hole at location A and you push a pin out of the corresponding hole at location B ?