Simple summary of a real problem:
- I'm making a chess game
- The engine that makes the chess do the magic is its own independent code (by design, for easy implementation)
- I am now implementing the chess game into a game (Minecraft, but could be any mod-able game)
Problem:
- The code that runs the chess has classes like "Board", "Game", "Piece", "Square", etc.
- The code that runs the implementation, in an optimal world, would have classes with the same name, but that would make everything I'm doing in my IDE into a jungle
Question:
- What's the best way to solve this? I'm thinking about calling the core chess game classes into something like "EBoard", "EPiece", etc., "E" being short for "Engine" /edit: i do not mean for this to be an opinion based question; "best way to solve it" as in "most logical for the IDE to digest what I'm doing"
Note:
- This is not a "name that thing" question. It is partially, but I am also asking because I'm looking for naming conventions that IDEs can handle well. In prior projects I have made errors like naming classes in full upper case letters occasionally, and the IDE had problems recognizing that i was actually looking for a class. You get the idea.