I've read most of the posts on here regarding this subject, however most of them deal with gameboards where there are two different categories of single pieces on a board without walls etc.
My game board has walls, and multiple instances of food. There are 8 different categories, Walls, enemy food, my food, enemy powerup, my powerup, attackable enemies, threatening enemies, and current teammate.
I have one hot encoded all of this data into a tensor of size (8, 16, 32) where (16, 32) are the sizes of the game grid. However I'm not sure whether this is appropriate since many of the categories have multiple occurrences of each category in a single (walls, food). Is it appropriate to use one hot encoding to represent categories in spatial data, where multiple one's may be present?
The alternative I was considering was to use a CNN, however many posts have said it is inappropriate for one hot data. My reasoning was that since the data is a abstract Boolean grid representing the RGB frames, it might be appropriate.
Does anyone have any suggestions as to the best way to represent a spatial Boolean grid representing multiple categories for input to a network?